org.eclipse.jetty.nested
Class NestedParser
java.lang.Object
org.eclipse.jetty.nested.NestedParser
- All Implemented Interfaces:
- Parser
public class NestedParser
- extends Object
- implements Parser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedParser
public NestedParser()
reset
public void reset(boolean returnBuffers)
- Specified by:
reset
in interface Parser
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface Parser
parseAvailable
public int parseAvailable()
throws IOException
- Specified by:
parseAvailable
in interface Parser
- 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
public boolean isMoreInBuffer()
throws IOException
- Specified by:
isMoreInBuffer
in interface Parser
- Throws:
IOException
isIdle
public boolean isIdle()
- Specified by:
isIdle
in interface Parser
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.