org.apache.mina.examples.httpserver
Class HttpProtocolHandler

java.lang.Object
  extended byorg.apache.mina.io.IoHandlerAdapter
      extended byorg.apache.mina.io.handler.StreamIoHandler
          extended byorg.apache.mina.examples.httpserver.HttpProtocolHandler
All Implemented Interfaces:
org.apache.mina.io.IoHandler

public class HttpProtocolHandler
extends org.apache.mina.io.handler.StreamIoHandler

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

Version:
$Rev: 326586 $, $Date: 2005-10-19 17:50:29 +0200 (Wed, 19 Oct 2005) $
Author:
The Apache Directory Project (dev@directory.apache.org)

Constructor Summary
HttpProtocolHandler()
           
 
Method Summary
protected  void processStreamIo(org.apache.mina.io.IoSession session, java.io.InputStream in, java.io.OutputStream out)
           
 
Methods inherited from class org.apache.mina.io.handler.StreamIoHandler
dataRead, exceptionCaught, getReadTimeout, getWriteTimeout, sessionClosed, sessionIdle, sessionOpened, setReadTimeout, setWriteTimeout
 
Methods inherited from class org.apache.mina.io.IoHandlerAdapter
dataWritten, sessionCreated
 
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(org.apache.mina.io.IoSession session,
                               java.io.InputStream in,
                               java.io.OutputStream out)