org.apache.cassandra.net.http
Class HttpHeaderParser

java.lang.Object
  extended by org.apache.cassandra.net.http.HttpHeaderParser

public class HttpHeaderParser
extends java.lang.Object

A parser for HTTP header lines.


Nested Class Summary
static interface HttpHeaderParser.Callback
           
 
Constructor Summary
HttpHeaderParser(HttpHeaderParser.Callback cb)
           
 
Method Summary
 boolean onMoreBytes(java.io.InputStream in)
           
 boolean onMoreBytesNew(java.nio.ByteBuffer buffer)
           
 void resetParserState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpHeaderParser

public HttpHeaderParser(HttpHeaderParser.Callback cb)
Method Detail

resetParserState

public void resetParserState()

onMoreBytes

public boolean onMoreBytes(java.io.InputStream in)
                    throws java.io.IOException
Throws:
java.io.IOException

onMoreBytesNew

public boolean onMoreBytesNew(java.nio.ByteBuffer buffer)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009 The Apache Software Foundation