Package | Description |
---|---|
org.eclipse.jetty.client |
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
|
org.eclipse.jetty.client.http | |
org.eclipse.jetty.io |
Jetty IO : Core classes for Jetty IO subsystem
|
org.eclipse.jetty.io.ssl |
Jetty IO : Core SSL Support
|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.server.handler |
Jetty Server : Core Handler API
|
Modifier and Type | Method and Description |
---|---|
Connection |
HttpProxy.HttpProxyClientConnectionFactory.newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
Connection |
Socks4Proxy.Socks4ProxyClientConnectionFactory.newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
Connection |
AbstractConnectorHttpClientTransport.ClientSelectorManager.newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endPoint,
java.lang.Object attachment) |
Modifier and Type | Method and Description |
---|---|
Connection |
HttpClientTransportOverHTTP.newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
Modifier and Type | Field and Description |
---|---|
private Connection |
AbstractEndPoint._connection |
Modifier and Type | Method and Description |
---|---|
default Connection |
ClientConnectionFactory.customize(Connection connection,
java.util.Map<java.lang.String,java.lang.Object> context) |
Connection |
AbstractEndPoint.getConnection() |
Connection |
EndPoint.getConnection() |
Connection |
ClientConnectionFactory.newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
abstract Connection |
SelectorManager.newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endpoint,
java.lang.Object attachment)
Factory method to create
Connection . |
Modifier and Type | Method and Description |
---|---|
void |
SelectorManager.connectionClosed(Connection connection)
Callback method invoked when a connection is closed.
|
void |
SelectorManager.connectionOpened(Connection connection)
Callback method invoked when a connection is opened.
|
default Connection |
ClientConnectionFactory.customize(Connection connection,
java.util.Map<java.lang.String,java.lang.Object> context) |
void |
ConnectionStatistics.onClosed(Connection connection) |
void |
Connection.Listener.onClosed(Connection connection) |
void |
Connection.Listener.Adapter.onClosed(Connection connection) |
void |
ConnectionStatistics.onOpened(Connection connection) |
void |
Connection.Listener.onOpened(Connection connection) |
void |
Connection.Listener.Adapter.onOpened(Connection connection) |
void |
AbstractEndPoint.setConnection(Connection connection) |
void |
EndPoint.setConnection(Connection connection) |
void |
AbstractEndPoint.upgrade(Connection newConnection) |
void |
EndPoint.upgrade(Connection newConnection)
Upgrade connections.
|
Modifier and Type | Method and Description |
---|---|
Connection |
SslClientConnectionFactory.customize(Connection connection,
java.util.Map<java.lang.String,java.lang.Object> context) |
Connection |
SslClientConnectionFactory.newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
Modifier and Type | Method and Description |
---|---|
default void |
ALPNProcessor.configure(javax.net.ssl.SSLEngine sslEngine,
Connection connection)
Configures the given SSLEngine and the given Connection for ALPN.
|
Connection |
SslClientConnectionFactory.customize(Connection connection,
java.util.Map<java.lang.String,java.lang.Object> context) |
void |
SslConnection.DecryptedEndPoint.setConnection(Connection connection) |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<Connection,ConnectorStatistics.Sample> |
ConnectorStatistics._samples
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ProxyConnectionFactory.ProxyEndPoint.getConnection() |
Connection |
HttpChannel.getConnection() |
Connection |
HttpConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
SslConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
OptionalSslConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
ProxyConnectionFactory.newConnection(Connector connector,
EndPoint endp) |
Connection |
ConnectionFactory.newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
Connection |
NegotiatingServerConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
ServerConnector.ServerConnectorManager.newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endpoint,
java.lang.Object attachment) |
Connection |
ConnectionFactory.Upgrading.upgradeConnection(Connector connector,
EndPoint endPoint,
MetaData.Request upgradeRequest,
HttpFields responseFields)
Create a connection for an upgrade request.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectorStatistics.onClosed(Connection connection)
Deprecated.
|
void |
ConnectionLimit.onClosed(Connection connection) |
void |
SocketCustomizationListener.onClosed(Connection connection) |
void |
ConnectorStatistics.onOpened(Connection connection)
Deprecated.
|
void |
ConnectionLimit.onOpened(Connection connection) |
void |
SocketCustomizationListener.onOpened(Connection connection) |
void |
ProxyConnectionFactory.ProxyEndPoint.setConnection(Connection connection) |
void |
ProxyConnectionFactory.ProxyEndPoint.upgrade(Connection newConnection) |
Modifier and Type | Method and Description |
---|---|
protected void |
SocketCustomizationListener.customize(java.net.Socket socket,
java.lang.Class<? extends Connection> connection,
boolean ssl)
This method may be extended to configure a socket on open
events.
|
Constructor and Description |
---|
Sample(Connection connection) |
Modifier and Type | Method and Description |
---|---|
void |
DebugHandler.onClosed(Connection connection)
Deprecated.
|
void |
DebugHandler.onOpened(Connection connection)
Deprecated.
|