| Modifier and Type | Class and Description |
|---|---|
static interface |
Ajp13Parser.EventHandler |
static class |
Ajp13Parser.Input
TODO Make this common with HttpParser
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
_length |
protected int |
_packetLength |
| Constructor and Description |
|---|
Ajp13Parser(Buffers buffers,
EndPoint endPoint) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
int |
getState() |
boolean |
inContentState() |
boolean |
inHeaderState() |
boolean |
isComplete() |
boolean |
isIdle() |
boolean |
isMoreInBuffer() |
boolean |
isPersistent() |
boolean |
isState(int state) |
void |
parse() |
boolean |
parseAvailable() |
int |
parseNext() |
void |
reset() |
void |
returnBuffers() |
void |
setEventHandler(Ajp13Parser.EventHandler handler) |
void |
setGenerator(Ajp13Generator generator) |
void |
setPersistent(boolean persistent) |
public void setEventHandler(Ajp13Parser.EventHandler handler)
public void setGenerator(Ajp13Generator generator)
public long getContentLength()
public int getState()
public boolean inContentState()
public boolean inHeaderState()
public boolean isComplete()
isComplete in interface Parserpublic boolean isMoreInBuffer()
isMoreInBuffer in interface Parserpublic boolean isState(int state)
public void parse()
throws IOException
IOExceptionpublic boolean parseAvailable()
throws IOException
parseAvailable in interface ParserIOExceptionpublic int parseNext()
throws IOException
IOExceptionpublic void returnBuffers()
returnBuffers in interface Parserpublic boolean isPersistent()
isPersistent in interface Parserpublic void setPersistent(boolean persistent)
setPersistent in interface ParserCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.