Package | Description |
---|---|
org.restlet.ext.nio | |
org.restlet.ext.nio.internal.connection | |
org.restlet.ext.nio.internal.controller |
Modifier and Type | Field and Description |
---|---|
protected ConnectionController |
BaseHelper.controller
The controller task.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ConnectionController |
BaseHelper.createController()
Creates a new controller.
|
protected ConnectionController |
ClientConnectionHelper.createController() |
ConnectionController |
BaseHelper.getController()
Returns the controller task.
|
Modifier and Type | Method and Description |
---|---|
Connection<T> |
ConnectionHelper.checkout(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress)
Checks out a connection associated to the given socket from the pool.
|
Connection<Server> |
ServerConnectionHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
abstract Connection<T> |
ConnectionHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress)
Creates a connection associated to the given socket.
|
Connection<Client> |
HttpsClientHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Connection<Server> |
HttpsServerHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Connection<Client> |
ClientConnectionHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Modifier and Type | Method and Description |
---|---|
void |
Connection.init(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress)
Initializes the connection and associates it to the given socket.
|
void |
SslConnection.reuse(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
void |
Connection.reuse(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress)
Reuses the connection and associates it to the given socket.
|
Constructor and Description |
---|
Connection(ConnectionHelper<T> helper,
SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress,
int inboundBufferSize,
int outboundBufferSize)
Constructor.
|
SslConnection(ConnectionHelper<T> helper,
SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress,
SSLEngine sslEngine)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerConnectionController
Controls the IO work of parent server helper and manages its connections.
|
Copyright © 2005–2017. All rights reserved.