public class Ajp13OutputStream extends WinstoneOutputStream
bodyOnly, buffer, bufferPosition, bufferSize, bytesCommitted, closed, committed, disregardMode, includeByteStreams, outStream, owner
Constructor and Description |
---|
Ajp13OutputStream(java.io.OutputStream outStream,
java.lang.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(java.lang.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, write
public Ajp13OutputStream(java.io.OutputStream outStream, java.lang.String headerEncoding)
public void commit() throws java.io.IOException
commit
in class WinstoneOutputStream
java.io.IOException
public void finishResponse() throws java.io.IOException
finishResponse
in class WinstoneOutputStream
java.io.IOException
public byte[] getIntBlock(int integer)
public static void setIntBlock(int integer, byte[] packet, int offset)
public byte[] getStringBlock(java.lang.String text) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
Copyright © 2012. All Rights Reserved.