| org.mortbay.jetty.ajp.Ajp13Generator
Ajp13Generator | public class Ajp13Generator extends AbstractGenerator (Code) | | author: lagdeppa (at) exist.com author: Greg Wilkins |
Constructor Summary | |
public | Ajp13Generator(Buffers buffers, EndPoint io, int headerBufferSize, int contentBufferSize) |
Ajp13Generator | public Ajp13Generator(Buffers buffers, EndPoint io, int headerBufferSize, int contentBufferSize)(Code) | | |
addContent | public void addContent(Buffer content, boolean last) throws IOException(Code) | | Add content.
Parameters: content - Parameters: last - throws: IllegalArgumentException - if content isBuffer.isImmutable immutable. throws: IllegalStateException - If the request is not expecting any more content, or if thebuffers are full and cannot be flushed. throws: IOException - if there is a problem flushing the buffers. |
addContent | public boolean addContent(byte b) throws IOException(Code) | | Add content.
Parameters: b - byte true if the buffers are full throws: IOException - |
completeHeader | public void completeHeader(HttpFields fields, boolean allContentAdded) throws IOException(Code) | | |
isComplete | public boolean isComplete()(Code) | | |
isNeedMore | public boolean isNeedMore()(Code) | | |
prepareUncheckedAddContent | protected int prepareUncheckedAddContent() throws IOException(Code) | | Prepare buffer for unchecked writes. Prepare the generator buffer to
receive unchecked writes
the available space in the buffer. throws: IOException - |
reset | public void reset(boolean returnBuffers)(Code) | | |
setExpectMore | public void setExpectMore(boolean expectMore)(Code) | | |
setServerVersion | public static void setServerVersion(String version)(Code) | | |
|
|