org.eclipse.jetty.http
接口 Parser

所有已知实现类:
Ajp13Parser, HttpParser, NestedParser

public interface Parser

Abstract interface for a connection Parser for use by Jetty.


方法摘要
 boolean isComplete()
           
 boolean isIdle()
           
 boolean isMoreInBuffer()
           
 boolean isPersistent()
           
 boolean parseAvailable()
           
 void reset()
           
 void returnBuffers()
           
 void setPersistent(boolean persistent)
           
 

方法详细信息

returnBuffers

void returnBuffers()

reset

void reset()

isComplete

boolean isComplete()

parseAvailable

boolean parseAvailable()
                       throws IOException
返回:
True if progress made
抛出:
IOException

isMoreInBuffer

boolean isMoreInBuffer()
                       throws IOException
抛出:
IOException

isIdle

boolean isIdle()

isPersistent

boolean isPersistent()

setPersistent

void setPersistent(boolean persistent)


Copyright © 2013. All Rights Reserved.