public class Ajp13OutputStream extends WinstoneOutputStream
bodyOnly, buffer, bufferPosition, bufferSize, bytesCommitted, closed, committed, disregardMode, includeByteStreams, outStream, owner| Constructor and Description |
|---|
Ajp13OutputStream(OutputStream outStream,
String headerEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
finishResponse() |
byte[] |
getIntBlock(int integer)
Useful generic method for getting ajp13 format integers in a packet.
|
byte[] |
getStringBlock(String text)
Useful generic method for getting ajp13 format strings in a packet.
|
static void |
setIntBlock(int integer,
byte[] packet,
int offset)
Useful generic method for setting ajp13 format integers in a packet.
|
clearIncludeStackForForward, close, finishIncludeBuffer, flush, getBufferSize, getBytesCommitted, getOutputStreamLength, isCommitted, isIncluding, reset, setBufferSize, setClosed, setDisregardMode, setResponse, startIncludeBuffer, write, writeprint, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnwritepublic Ajp13OutputStream(OutputStream outStream, String headerEncoding)
public void commit()
throws IOException
commit in class WinstoneOutputStreamIOExceptionpublic void finishResponse()
throws IOException
finishResponse in class WinstoneOutputStreamIOExceptionpublic byte[] getIntBlock(int integer)
public static void setIntBlock(int integer,
byte[] packet,
int offset)
public byte[] getStringBlock(String text) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2014. All rights reserved.