org.eclipse.jetty.http
Interface Parser
- All Known Implementing Classes:
- Ajp13Parser, HttpParser, NestedParser
public interface Parser
Abstract interface for a connection Parser for use by Jetty.
reset
void reset(boolean returnBuffers)
isComplete
boolean isComplete()
parseAvailable
int parseAvailable()
throws IOException
- Returns:
- An indication of progress, typically the number of bytes filled plus the events parsed: -1 means EOF read, 0 no progress, >0 progress
- Throws:
IOException
isMoreInBuffer
boolean isMoreInBuffer()
throws IOException
- Throws:
IOException
isIdle
boolean isIdle()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.