| |
|
| java.lang.Object org.mortbay.jetty.HttpParser
HttpParser | public class HttpParser implements Parser(Code) | | author: gregw |
Inner Class :abstract public static class EventHandler | |
Constructor Summary | |
public | HttpParser(Buffer buffer, EventHandler handler) Constructor. | public | HttpParser(Buffers buffers, EndPoint endp, EventHandler handler, int headerBufferSize, int contentBufferSize) Constructor. |
STATE_CHUNK | final public static int STATE_CHUNK(Code) | | |
STATE_CHUNKED_CONTENT | final public static int STATE_CHUNKED_CONTENT(Code) | | |
STATE_CHUNK_PARAMS | final public static int STATE_CHUNK_PARAMS(Code) | | |
STATE_CHUNK_SIZE | final public static int STATE_CHUNK_SIZE(Code) | | |
STATE_CONTENT | final public static int STATE_CONTENT(Code) | | |
STATE_END | final public static int STATE_END(Code) | | |
STATE_END0 | final public static int STATE_END0(Code) | | |
STATE_END1 | final public static int STATE_END1(Code) | | |
STATE_EOF_CONTENT | final public static int STATE_EOF_CONTENT(Code) | | |
STATE_FIELD0 | final public static int STATE_FIELD0(Code) | | |
STATE_FIELD1 | final public static int STATE_FIELD1(Code) | | |
STATE_FIELD2 | final public static int STATE_FIELD2(Code) | | |
STATE_HEADER | final public static int STATE_HEADER(Code) | | |
STATE_HEADER_NAME | final public static int STATE_HEADER_NAME(Code) | | |
STATE_HEADER_VALUE | final public static int STATE_HEADER_VALUE(Code) | | |
STATE_SPACE1 | final public static int STATE_SPACE1(Code) | | |
STATE_SPACE2 | final public static int STATE_SPACE2(Code) | | |
STATE_START | final public static int STATE_START(Code) | | |
_chunkLength | protected int _chunkLength(Code) | | |
_chunkPosition | protected int _chunkPosition(Code) | | |
_contentLength | protected long _contentLength(Code) | | |
_contentPosition | protected long _contentPosition(Code) | | |
_length | protected int _length(Code) | | |
_state | protected int _state(Code) | | |
HttpParser | public HttpParser(Buffer buffer, EventHandler handler)(Code) | | Constructor.
|
HttpParser | public HttpParser(Buffers buffers, EndPoint endp, EventHandler handler, int headerBufferSize, int contentBufferSize)(Code) | | Constructor.
Parameters: headerBufferSize - size in bytes of header buffer Parameters: contentBufferSize - size in bytes of content buffer |
getContentLength | public long getContentLength()(Code) | | |
getState | public int getState()(Code) | | |
inContentState | public boolean inContentState()(Code) | | |
inHeaderState | public boolean inHeaderState()(Code) | | |
isChunking | public boolean isChunking()(Code) | | |
isComplete | public boolean isComplete()(Code) | | |
isIdle | public boolean isIdle()(Code) | | |
isState | public boolean isState(int state)(Code) | | |
reset | public void reset(boolean returnBuffers)(Code) | | |
setState | public void setState(int state)(Code) | | |
|
|
|