org.apache.http.nio
Interface NHttpMessageParser

All Known Implementing Classes:
AbstractMessageParser, HttpRequestParser, HttpResponseParser

public interface NHttpMessageParser

Abstract HTTP message parser for non-blocking connections.

Since:
4.0
Version:
$Revision: 562518 $
Author:
Oleg Kalnichevski

Method Summary
 int fillBuffer(java.nio.channels.ReadableByteChannel channel)
           
 HttpMessage parse()
           
 void reset()
           
 

Method Detail

reset

void reset()

fillBuffer

int fillBuffer(java.nio.channels.ReadableByteChannel channel)
               throws java.io.IOException
Throws:
java.io.IOException

parse

HttpMessage parse()
                  throws java.io.IOException,
                         HttpException
Throws:
java.io.IOException
HttpException


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.