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> |
HttpsServerHelper.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<Server> |
ServerConnectionHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Connection<Client> |
ClientConnectionHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
Connection<Client> |
HttpsClientHelper.createConnection(SocketChannel socketChannel,
ConnectionController controller,
InetSocketAddress socketAddress) |
protected Connection<Client> |
ClientConnectionHelper.getBestConnection(Request request)
Tries to reuse an existing connection for the given request, or creates a
new one.
|
Modifier and Type | Method and Description |
---|---|
List<Connection<T>> |
ConnectionHelper.getConnections()
Returns the set of active connections.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
ConnectionHelper.checkin(Connection<?> connection)
Checks in the connection back into the pool.
|
InboundWay |
HttpsClientHelper.createInboundWay(Connection<Client> connection,
int bufferSize) |
InboundWay |
HttpClientHelper.createInboundWay(Connection<Client> connection,
int bufferSize) |
InboundWay |
HttpsServerHelper.createInboundWay(Connection<Server> 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 |
HttpsClientHelper.createOutboundWay(Connection<Client> connection,
int bufferSize) |
OutboundWay |
HttpClientHelper.createOutboundWay(Connection<Client> connection,
int bufferSize) |
OutboundWay |
HttpsServerHelper.createOutboundWay(Connection<Server> 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.
|
Request |
HttpsServerHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol) |
Request |
HttpServerHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol) |
abstract Request |
ServerConnectionHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Creates a new request.
|
Modifier and Type | Class and Description |
---|---|
class |
SslConnection<T extends Connector>
Connection secured with SSL/TLS protocols.
|
Modifier and Type | Method and Description |
---|---|
protected Connection<T> |
ConnectionPool.createObject() |
Modifier and Type | Method and Description |
---|---|
protected void |
ConnectionPool.clear(Connection<T> connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConnectionController.controlConnection(Connection<?> conn)
Controls a given connection for messages to read or write.
|
Modifier and Type | Method and Description |
---|---|
Connection<Server> |
InboundRequest.getConnection()
Returns the related connection.
|
Connection<Server> |
HttpInboundRequest.getConnection()
Returns the related connection.
|
Constructor and Description |
---|
HttpInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Constructor.
|
HttpsInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Connection<Client> |
ClientInboundWay.getConnection() |
Connection<Server> |
ServerOutboundWay.getConnection() |
Connection<Client> |
ClientOutboundWay.getConnection() |
Connection<?> |
Way.getConnection()
Returns the parent connection.
|
Connection<Server> |
ServerInboundWay.getConnection() |
Constructor and Description |
---|
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.
|
HttpsClientInboundWay(Connection<Client> connection,
int bufferSize)
Constructor.
|
HttpsClientOutboundWay(Connection<?> connection,
int bufferSize)
Constructor.
|
HttpServerInboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
HttpServerOutboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
HttpsServerInboundWay(Connection<Server> connection,
int bufferSize)
Constructor.
|
HttpsServerOutboundWay(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.
|
Modifier and Type | Method and Description |
---|---|
Connection<Server> |
SipInboundRequest.getConnection()
Deprecated.
Returns the related connection.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SipServerHelper.canHandle(Connection<Server> connection,
Response response)
Deprecated.
|
InboundWay |
SipClientHelper.createInboundWay(Connection<Client> connection,
int bufferSize)
Deprecated.
|
ServerInboundWay |
SipServerHelper.createInboundWay(Connection<Server> connection,
int bufferSize)
Deprecated.
|
OutboundWay |
SipClientHelper.createOutboundWay(Connection<Client> connection,
int bufferSize)
Deprecated.
|
OutboundWay |
SipServerHelper.createOutboundWay(Connection<Server> connection,
int bufferSize)
Deprecated.
|
Request |
SipServerHelper.createRequest(Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Deprecated.
|
Constructor and Description |
---|
SipClientInboundWay(Connection<Client> connection,
int bufferSize)
Deprecated.
Constructor.
|
SipClientOutboundWay(Connection<?> connection,
int bufferSize)
Deprecated.
Constructor.
|
SipInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Deprecated.
Constructor.
|
SipServerInboundWay(Connection<Server> connection,
int bufferSize)
Deprecated.
Constructor.
|
SipServerOutboundWay(Connection<Server> connection,
int bufferSize)
Deprecated.
Constructor.
|
Copyright © 2005–2018. All rights reserved.