public class Ajp13Parser extends Object implements org.eclipse.jetty.http.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.eclipse.jetty.io.Buffers buffers,
org.eclipse.jetty.io.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 Ajp13Parser(org.eclipse.jetty.io.Buffers buffers,
org.eclipse.jetty.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.eclipse.jetty.http.Parserpublic boolean isComplete()
isComplete in interface org.eclipse.jetty.http.Parserpublic boolean isMoreInBuffer()
isMoreInBuffer in interface org.eclipse.jetty.http.Parserpublic boolean isState(int state)
public void parse()
throws IOException
IOExceptionpublic boolean parseAvailable()
throws IOException
parseAvailable in interface org.eclipse.jetty.http.ParserIOExceptionpublic int parseNext()
throws IOException
IOExceptionpublic void reset()
reset in interface org.eclipse.jetty.http.Parserpublic void returnBuffers()
returnBuffers in interface org.eclipse.jetty.http.Parserpublic boolean isPersistent()
isPersistent in interface org.eclipse.jetty.http.Parserpublic void setPersistent(boolean persistent)
setPersistent in interface org.eclipse.jetty.http.ParserCopyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.