org.nnsoft.shs.core.http.parse
Class RequestStreamingParser
java.lang.Object
org.nnsoft.shs.core.http.parse.RequestStreamingParser
public final class RequestStreamingParser
- extends Object
An LL(0) Request
pull parser that incrementally rebuilds the HTTP Request.
This class is not thread-safe!
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestStreamingParser
public RequestStreamingParser(String clientHost,
String serverHost,
int serverPort)
onRequestPartRead
public void onRequestPartRead(ByteBuffer messageBuffer)
throws RequestParseException
- Throws:
RequestParseException
isRequestMessageComplete
public boolean isRequestMessageComplete()
getParsedRequest
public Request getParsedRequest()
Copyright © 2012 99 Software Foundation. All Rights Reserved.