com.noelios.restlet.ext.simple
Class SimplePipelineFactory

java.lang.Object
  extended by simple.http.BufferedPipelineFactory
      extended by com.noelios.restlet.ext.simple.SimplePipelineFactory
All Implemented Interfaces:
simple.http.PipelineFactory

public class SimplePipelineFactory
extends simple.http.BufferedPipelineFactory

A subclass of BufferedPipelineFactory that sets the connection socket on each pipeline for later retrieval.

Author:
Jerome Louvel

Field Summary
static java.lang.String PROPERTY_SOCKET
           
 
Constructor Summary
SimplePipelineFactory()
          Constructor.
SimplePipelineFactory(int size)
          Constructor.
 
Method Summary
 simple.http.Pipeline getInstance(java.net.Socket sock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_SOCKET

public static final java.lang.String PROPERTY_SOCKET
See Also:
Constant Field Values
Constructor Detail

SimplePipelineFactory

public SimplePipelineFactory()
Constructor.


SimplePipelineFactory

public SimplePipelineFactory(int size)
Constructor.

Parameters:
size - The size of the output buffer used
Method Detail

getInstance

public simple.http.Pipeline getInstance(java.net.Socket sock)
                                 throws java.io.IOException
Specified by:
getInstance in interface simple.http.PipelineFactory
Overrides:
getInstance in class simple.http.BufferedPipelineFactory
Throws:
java.io.IOException


Copyright © 2005-2008 Noelios Technologies.