com.noelios.restlet.ext.simple
Class SimplePipelineFactory
java.lang.Object
simple.http.BufferedPipelineFactory
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
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 |
PROPERTY_SOCKET
public static final java.lang.String PROPERTY_SOCKET
- See Also:
- Constant Field Values
SimplePipelineFactory
public SimplePipelineFactory()
- Constructor.
SimplePipelineFactory
public SimplePipelineFactory(int size)
- Constructor.
- Parameters:
size
- The size of the output buffer used
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.