org.eclipse.jetty.ajp
类 Ajp13Parser

java.lang.Object
  继承者 org.eclipse.jetty.ajp.Ajp13Parser
所有已实现的接口:
Parser

public class Ajp13Parser
extends Object
implements Parser


嵌套类摘要
static interface Ajp13Parser.EventHandler
           
static class Ajp13Parser.Input
          TODO Make this common with HttpParser
 
字段摘要
protected  int _length
           
protected  int _packetLength
           
 
构造方法摘要
Ajp13Parser(Buffers buffers, EndPoint endPoint)
           
 
方法摘要
 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)
           
 
从类 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(Buffers buffers,
                   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()
指定者:
接口 Parser 中的 isIdle

isComplete

public boolean isComplete()
指定者:
接口 Parser 中的 isComplete

isMoreInBuffer

public boolean isMoreInBuffer()
指定者:
接口 Parser 中的 isMoreInBuffer

isState

public boolean isState(int state)

parse

public void parse()
           throws IOException
抛出:
IOException

parseAvailable

public boolean parseAvailable()
                       throws IOException
指定者:
接口 Parser 中的 parseAvailable
返回:
True if progress made
抛出:
IOException

parseNext

public int parseNext()
              throws IOException
抛出:
IOException

reset

public void reset()
指定者:
接口 Parser 中的 reset

returnBuffers

public void returnBuffers()
指定者:
接口 Parser 中的 returnBuffers

isPersistent

public boolean isPersistent()
指定者:
接口 Parser 中的 isPersistent

setPersistent

public void setPersistent(boolean persistent)
指定者:
接口 Parser 中的 setPersistent


Copyright © 2013. All Rights Reserved.