public class Ajp13Parser extends Object implements org.mortbay.jetty.Parser
| 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(org.mortbay.io.Buffers buffers,
org.mortbay.io.EndPoint endPoint) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
int |
getState() |
boolean |
inContentState() |
boolean |
inHeaderState() |
boolean |
isComplete() |
boolean |
isIdle() |
boolean |
isMoreInBuffer() |
boolean |
isState(int state) |
void |
parse() |
long |
parseAvailable() |
long |
parseNext() |
void |
reset(boolean returnBuffers) |
void |
setEventHandler(Ajp13Parser.EventHandler handler) |
void |
setGenerator(Ajp13Generator generator) |
public Ajp13Parser(org.mortbay.io.Buffers buffers,
org.mortbay.io.EndPoint endPoint)
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 isIdle()
isIdle in interface org.mortbay.jetty.Parserpublic boolean isComplete()
isComplete in interface org.mortbay.jetty.Parserpublic boolean isMoreInBuffer()
isMoreInBuffer in interface org.mortbay.jetty.Parserpublic boolean isState(int state)
public void parse()
throws IOException
IOExceptionpublic long parseAvailable()
throws IOException
parseAvailable in interface org.mortbay.jetty.ParserIOExceptionpublic long parseNext()
throws IOException
IOExceptionpublic void reset(boolean returnBuffers)
reset in interface org.mortbay.jetty.ParserCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.