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 Parser
public boolean isMoreInBuffer()
isMoreInBuffer
in interface Parser
public boolean isState(int state)
public void parse() throws IOException
IOException
public boolean parseAvailable() throws IOException
parseAvailable
in interface Parser
IOException
public int parseNext() throws IOException
IOException
public void returnBuffers()
returnBuffers
in interface Parser
public boolean isPersistent()
isPersistent
in interface Parser
public void setPersistent(boolean persistent)
setPersistent
in interface Parser
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.