org.elkoserver.foundation.net
Class HTTPRequestByteIOFramerFactory

java.lang.Object
  extended by org.elkoserver.foundation.net.HTTPRequestByteIOFramerFactory
All Implemented Interfaces:
ByteIOFramerFactory

public class HTTPRequestByteIOFramerFactory
extends Object
implements ByteIOFramerFactory

Byte I/O framer factory for HTTP requests. The framing rules implemented by this class are the message formatting rules for HTTP requests and responses as described by "RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1", except that chunked transfer coding is not supported.


Method Summary
 ByteIOFramer provideFramer(MessageReceiver receiver, String label)
          Provide an I/O framer for a new HTTP connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

provideFramer

public ByteIOFramer provideFramer(MessageReceiver receiver,
                                  String label)
Provide an I/O framer for a new HTTP connection.

Specified by:
provideFramer in interface ByteIOFramerFactory
Parameters:
receiver - Object to deliver received messages to.
label - A printable label identifying the associated connection.