org.eclipse.jetty.ajp
Class Ajp13Parser
java.lang.Object
org.eclipse.jetty.ajp.Ajp13Parser
- All Implemented Interfaces:
- org.eclipse.jetty.http.Parser
public class Ajp13Parser
- extends Object
- implements org.eclipse.jetty.http.Parser
|
Constructor Summary |
Ajp13Parser(org.eclipse.jetty.io.Buffers buffers,
org.eclipse.jetty.io.EndPoint endPoint)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_length
protected int _length
_packetLength
protected int _packetLength
Ajp13Parser
public Ajp13Parser(org.eclipse.jetty.io.Buffers buffers,
org.eclipse.jetty.io.EndPoint endPoint)
setEventHandler
public void setEventHandler(Ajp13Parser.EventHandler handler)
setGenerator
public void setGenerator(Ajp13Generator generator)
getContentLength
public long getContentLength()
getState
public int getState()
inContentState
public boolean inContentState()
inHeaderState
public boolean inHeaderState()
isIdle
public boolean isIdle()
- Specified by:
isIdle in interface org.eclipse.jetty.http.Parser
isComplete
public boolean isComplete()
- Specified by:
isComplete in interface org.eclipse.jetty.http.Parser
isMoreInBuffer
public boolean isMoreInBuffer()
- Specified by:
isMoreInBuffer in interface org.eclipse.jetty.http.Parser
isState
public boolean isState(int state)
parse
public void parse()
throws IOException
- Throws:
IOException
parseAvailable
public boolean parseAvailable()
throws IOException
- Specified by:
parseAvailable in interface org.eclipse.jetty.http.Parser
- Throws:
IOException
parseNext
public int parseNext()
throws IOException
- Throws:
IOException
reset
public void reset()
- Specified by:
reset in interface org.eclipse.jetty.http.Parser
returnBuffers
public void returnBuffers()
- Specified by:
returnBuffers in interface org.eclipse.jetty.http.Parser
isPersistent
public boolean isPersistent()
- Specified by:
isPersistent in interface org.eclipse.jetty.http.Parser
setPersistent
public void setPersistent(boolean persistent)
- Specified by:
setPersistent in interface org.eclipse.jetty.http.Parser
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.