Uses of Class
org.restlet.engine.connector.Connection

Packages that use Connection
org.restlet.engine.connector New advanced internal HTTP connector. 
 

Uses of Connection in org.restlet.engine.connector
 

Methods in org.restlet.engine.connector that return Connection
protected  Connection<T> ConnectionHelper.checkout(SocketChannel socketChannel, ConnectionController controller, InetSocketAddress socketAddress)
          Checks out a connection associated to the given socket from the pool.
protected  Connection<Client> ClientConnectionHelper.createConnection(SocketChannel socketChannel, ConnectionController controller, InetSocketAddress socketAddress)
           
protected abstract  Connection<T> ConnectionHelper.createConnection(SocketChannel socketChannel, ConnectionController controller, InetSocketAddress socketAddress)
          Creates a connection associated to the given socket.
protected  Connection<Server> ServerConnectionHelper.createConnection(SocketChannel socketChannel, ConnectionController controller, InetSocketAddress socketAddress)
           
protected  Connection<T> ConnectionPool.createObject()
           
protected  Connection<Client> ClientConnectionHelper.getBestConnection(Request request)
          Tries to reuse an existing connection for the given request, or creates a new one.
 Connection<Server> HttpInboundRequest.getConnection()
          Returns the related connection.
 Connection<Client> ClientOutboundWay.getConnection()
           
 Connection<Client> ClientInboundWay.getConnection()
           
 Connection<Server> InboundRequest.getConnection()
          Returns the related connection.
 Connection<Server> ServerOutboundWay.getConnection()
           
 Connection<?> Way.getConnection()
          Returns the parent connection.
 Connection<Server> ServerInboundWay.getConnection()
           
 

Methods in org.restlet.engine.connector that return types with arguments of type Connection
 List<Connection<T>> ConnectionHelper.getConnections()
          Returns the set of active connections.
 

Methods in org.restlet.engine.connector with parameters of type Connection
protected  boolean HttpServerHelper.canHandle(Connection<Server> connection, Response response)
           
protected abstract  boolean ServerConnectionHelper.canHandle(Connection<Server> connection, Response response)
          Indicates if the connection can handle the given response at this point in time.
protected  void ConnectionHelper.checkin(Connection<?> connection)
          Checks in the connection back into the pool.
protected  void ConnectionPool.clear(Connection<T> connection)
           
protected  void ConnectionController.controlConnection(Connection<?> conn)
          Controls a given connection for messages to read or write.
 InboundWay HttpClientHelper.createInboundWay(Connection<Client> connection, int bufferSize)
           
 InboundWay HttpServerHelper.createInboundWay(Connection<Server> connection, int bufferSize)
           
abstract  InboundWay ConnectionHelper.createInboundWay(Connection<T> connection, int bufferSize)
          Creates an inbound way for the given connection.
 OutboundWay HttpClientHelper.createOutboundWay(Connection<Client> connection, int bufferSize)
           
 OutboundWay HttpServerHelper.createOutboundWay(Connection<Server> connection, int bufferSize)
           
abstract  OutboundWay ConnectionHelper.createOutboundWay(Connection<T> connection, int bufferSize)
          Creates an outbound way for the given connection.
protected  Request HttpServerHelper.createRequest(Connection<Server> connection, String methodName, String resourceUri, String protocol)
           
protected abstract  Request ServerConnectionHelper.createRequest(Connection<Server> connection, String methodName, String resourceUri, String protocol)
          Creates a new request.
 

Constructors in org.restlet.engine.connector with parameters of type Connection
ClientInboundWay(Connection<?> connection, int bufferSize)
          Constructor.
ClientOutboundWay(Connection<?> connection, int bufferSize)
          Constructor.
HttpClientInboundWay(Connection<Client> connection, int bufferSize)
          Constructor.
HttpClientOutboundWay(Connection<?> connection, int bufferSize)
          Constructor.
HttpInboundRequest(Context context, Connection<Server> connection, String methodName, String resourceUri, String protocol)
          Constructor.
HttpServerInboundWay(Connection<Server> connection, int bufferSize)
          Constructor.
HttpServerOutboundWay(Connection<Server> connection, int bufferSize)
          Constructor.
InboundWay(Connection<?> connection, int bufferSize)
          Constructor.
OutboundWay(Connection<?> connection, int bufferSize)
          Constructor.
ServerInboundWay(Connection<?> connection, int bufferSize)
          Constructor.
ServerOutboundWay(Connection<Server> connection, int bufferSize)
          Constructor.
Way(Connection<?> connection, int bufferSize)
          Constructor.
 



Copyright © 2005-2013 Restlet.