org.mortbay.jetty.ajp
public class Ajp13Parser extends java.lang.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.Parser
public boolean isComplete()
isComplete
in interface org.mortbay.jetty.Parser
public boolean isMoreInBuffer()
isMoreInBuffer
in interface org.mortbay.jetty.Parser
public boolean isState(int state)
public void parse() throws java.io.IOException
java.io.IOException
public long parseAvailable() throws java.io.IOException
parseAvailable
in interface org.mortbay.jetty.Parser
java.io.IOException
public long parseNext() throws java.io.IOException
java.io.IOException
public void reset(boolean returnBuffers)
reset
in interface org.mortbay.jetty.Parser
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.