com.noelios.restlet.http
Class StreamClientHelper

java.lang.Object
  extended by org.restlet.util.Helper
      extended by com.noelios.restlet.ConnectorHelper
          extended by com.noelios.restlet.ClientHelper
              extended by com.noelios.restlet.http.HttpClientHelper
                  extended by com.noelios.restlet.http.StreamClientHelper

public class StreamClientHelper
extends HttpClientHelper

HTTP client helper based on BIO sockets.

Author:
Jerome Louvel (contact@noelios.com)

Constructor Summary
StreamClientHelper(Client client)
          Constructor.
 
Method Summary
 HttpClientCall create(Request request)
          Creates a low-level HTTP client call from a high-level request.
 void start()
          Start hook.
 void stop()
          Stop callback.
 
Methods inherited from class com.noelios.restlet.http.HttpClientHelper
getConverter, handle, setConverter
 
Methods inherited from class com.noelios.restlet.ClientHelper
getClient, getContext, getLogger, getParameters
 
Methods inherited from class com.noelios.restlet.ConnectorHelper
createContext, getProtocols
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamClientHelper

public StreamClientHelper(Client client)
Constructor.

Parameters:
client - The client to help.
Method Detail

create

public HttpClientCall create(Request request)
Description copied from class: HttpClientHelper
Creates a low-level HTTP client call from a high-level request.

Specified by:
create in class HttpClientHelper
Parameters:
request - The high-level request.
Returns:
A low-level HTTP client call.

start

public void start()
           throws Exception
Description copied from class: ConnectorHelper
Start hook.

Overrides:
start in class ConnectorHelper
Throws:
Exception

stop

public void stop()
          throws Exception
Description copied from class: ConnectorHelper
Stop callback.

Overrides:
stop in class ConnectorHelper
Throws:
Exception


Copyright © 2005-2007 Noelios Technologies.