Method Summary |
|
public void | addActiveFilter(InputFilter filter) Add an input filter to the filter library. |
public void | addFilter(InputFilter filter) Add an input filter to the filter library. |
public int | available() |
public void | clearFilters() Clear filters. |
public int | doRead(ByteChunk chunk, Request req) Read some bytes. |
public void | endRequest() End request (consumes leftover bytes). |
protected boolean | fill() Fill the internal buffer using data from the undelying input stream. |
public InputFilter[] | getFilters() Get filters. |
public long | getSocket() Get the underlying socket input stream. |
public void | nextRequest() End processing of current HTTP request.
Note: All bytes of the current request should have been already
consumed. |
public boolean | parseHeader() Parse an HTTP header. |
public void | parseHeaders() Parse the HTTP headers. |
public boolean | parseRequestLine(boolean useAvailableData) Read the request line. |
public void | recycle() Recycle the input buffer. |
public void | setSocket(long socket) Set the underlying socket. |
public void | setSwallowInput(boolean swallowInput) Set the swallow input flag. |