org.apache.mina.examples.httpserver
Class HttpProtocolHandler

java.lang.Object
  extended by StreamIoHandler
      extended by org.apache.mina.examples.httpserver.HttpProtocolHandler

public class HttpProtocolHandler
extends StreamIoHandler

A simplistic HTTP protocol handler that replies back the URL and headers which a client requested.

Version:
$Rev: 355016 $, $Date: 2005-12-08 16:00:30 +0900 (Thu, 08 Dec 2005) $
Author:
The Apache Directory Project (dev@directory.apache.org)

Constructor Summary
HttpProtocolHandler()
           
 
Method Summary
protected  void processStreamIo(IoSession session, java.io.InputStream in, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpProtocolHandler

public HttpProtocolHandler()
Method Detail

processStreamIo

protected void processStreamIo(IoSession session,
                               java.io.InputStream in,
                               java.io.OutputStream out)