com.noelios.restlet.ext.simple
Class SimplePipelineFactory
java.lang.Object
simple.http.BufferedPipelineFactory
com.noelios.restlet.ext.simple.SimplePipelineFactory
- All Implemented Interfaces:
- PipelineFactory
public class SimplePipelineFactory
- extends BufferedPipelineFactory
A subclass of BufferedPipelineFactory that sets the connection socket on each
pipeline for later retrieval.
- Author:
- Jerome Louvel (contact@noelios.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_SOCKET
public static final 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 Pipeline getInstance(Socket sock)
throws IOException
- Specified by:
getInstance
in interface PipelineFactory
- Overrides:
getInstance
in class BufferedPipelineFactory
- Throws:
IOException
Copyright © 2005-2007 Noelios Consulting.