Uses of Interface
org.eclipse.jetty.client.Connection
Packages that use Connection
Package
Description
-
Uses of Connection in org.eclipse.jetty.client
Methods in org.eclipse.jetty.client that return ConnectionModifier and TypeMethodDescriptionAbstractConnectionPool.acquire
(boolean create) Returns an idle connection, if available; if an idle connection is not available, and the givencreate
parameter istrue
orAbstractConnectionPool.isMaximizeConnections()
istrue
, then attempts to open a new connection, if possible within the configuration of this connection pool (for example, if it does not exceed the max connection count); otherwise it attempts to open a new connection, if the number of queued requests is greater than the number of pending connections; if no connection is available even after the attempts to open, returnnull
.ConnectionPool.acquire
(boolean create) Returns an idle connection, if available; if an idle connection is not available, and the givencreate
parameter istrue
, then schedules the opening of a new connection, if possible within the configuration of this connection pool (for example, if it does not exceed the max connection count); otherwise returnsnull
.protected Connection
AbstractConnectionPool.activate()
default Connection
Request.getConnection()
Returns the connection associated with this request.Methods in org.eclipse.jetty.client that return types with arguments of type ConnectionModifier and TypeMethodDescriptiondefault CompletableFuture<Connection>
Destination.newConnection()
Creates asynchronously a new, unpooled,Connection
that will be returned at a later time through the givenPromise
.static ToIntFunction<Connection>
MultiplexConnectionPool.newMaxMultiplexer
(int defaultMaxMultiplex) Returns a function that computes the max multiplex value for a givenConnection
, if possible, otherwise returns the givendefaultMaxMultiplex
value.Methods in org.eclipse.jetty.client with parameters of type ConnectionModifier and TypeMethodDescriptionboolean
AbstractConnectionPool.accept
(Connection connection) boolean
ConnectionPool.accept
(Connection connection) Accepts the given connection to be managed by this ConnectionPool.protected void
AbstractConnectionPool.acquired
(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.Racy API.protected boolean
AbstractConnectionPool.deactivate
(Connection connection) protected boolean
AbstractConnectionPool.idle
(Connection connection, boolean close) Deprecated, for removal: This API element is subject to removal in a future version.Racy API.boolean
AbstractConnectionPool.isActive
(Connection connection) boolean
ConnectionPool.isActive
(Connection connection) protected void
AbstractConnectionPool.onCreated
(Connection connection) Callback method invoked when a newConnection
has been created.protected void
AbstractConnectionPool.onRemoved
(Connection connection) Callback method invoked when aConnection
has been removed from this pool.boolean
AbstractConnectionPool.release
(Connection connection) boolean
ConnectionPool.release
(Connection connection) Returns the given connection, previously obtained viaConnectionPool.acquire(boolean)
, back to this ConnectionPool.boolean
ValidatingConnectionPool.release
(Connection connection) protected void
AbstractConnectionPool.released
(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.Racy API.boolean
AbstractConnectionPool.remove
(Connection connection) boolean
ConnectionPool.remove
(Connection connection) Removes the given connection from this ConnectionPool.boolean
ValidatingConnectionPool.remove
(Connection connection) protected void
AbstractConnectionPool.removed
(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.replaced byAbstractConnectionPool.onRemoved(Connection)
CompletableResponseListener.send
(Connection connection) Sends the request asynchronously via the givenConnection
and returns aCompletableFuture
that is completed when the request/response completes.Method parameters in org.eclipse.jetty.client with type arguments of type ConnectionModifier and TypeMethodDescriptionvoid
Destination.newConnection
(Promise<Connection> promise) Creates asynchronously a new, unpooled,Connection
that will be returned at a later time through the givenPromise
.void
HttpClient.newConnection
(Destination destination, Promise<Connection> promise) Constructor parameters in org.eclipse.jetty.client with type arguments of type ConnectionModifierConstructorDescriptionprotected
AbstractConnectionPool
(Destination destination, Pool.Factory<Connection> poolFactory, int initialMaxMultiplex) protected
MultiplexConnectionPool
(Destination destination, Pool.Factory<Connection> poolFactory, int initialMaxMultiplex) -
Uses of Connection in org.eclipse.jetty.client.transport
Subinterfaces of Connection in org.eclipse.jetty.client.transportClasses in org.eclipse.jetty.client.transport that implement ConnectionMethods in org.eclipse.jetty.client.transport that return ConnectionModifier and TypeMethodDescriptionprotected abstract Connection
HttpChannel.getConnection()
HttpRequest.getConnection()
Methods in org.eclipse.jetty.client.transport with parameters of type ConnectionModifier and TypeMethodDescriptionvoid
HttpDestination.accept
(Connection connection) void
HttpDestination.release
(Connection connection) boolean
HttpDestination.remove
(Connection connection) Method parameters in org.eclipse.jetty.client.transport with type arguments of type ConnectionModifier and TypeMethodDescriptionprotected void
HttpDestination.createConnection
(Promise<Connection> promise) void
HttpDestination.newConnection
(Promise<Connection> promise) -
Uses of Connection in org.eclipse.jetty.client.transport.internal
Classes in org.eclipse.jetty.client.transport.internal that implement ConnectionMethods in org.eclipse.jetty.client.transport.internal that return ConnectionConstructor parameters in org.eclipse.jetty.client.transport.internal with type arguments of type ConnectionModifierConstructorDescriptionHttpConnectionOverHTTP
(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise) -
Uses of Connection in org.eclipse.jetty.fcgi.client.transport
Method parameters in org.eclipse.jetty.fcgi.client.transport with type arguments of type ConnectionModifier and TypeMethodDescriptionprotected Connection
HttpClientTransportOverFCGI.newConnection
(EndPoint endPoint, Destination destination, Promise<Connection> promise) -
Uses of Connection in org.eclipse.jetty.fcgi.client.transport.internal
Classes in org.eclipse.jetty.fcgi.client.transport.internal that implement ConnectionMethods in org.eclipse.jetty.fcgi.client.transport.internal that return ConnectionConstructor parameters in org.eclipse.jetty.fcgi.client.transport.internal with type arguments of type ConnectionModifierConstructorDescriptionHttpConnectionOverFCGI
(EndPoint endPoint, Destination destination, Promise<Connection> promise) -
Uses of Connection in org.eclipse.jetty.http2.client.transport
Methods in org.eclipse.jetty.http2.client.transport that return ConnectionModifier and TypeMethodDescriptionprotected Connection
HttpClientTransportOverHTTP2.newConnection
(Destination destination, Session session, HTTP2Connection connection) Methods in org.eclipse.jetty.http2.client.transport with parameters of type ConnectionModifier and TypeMethodDescriptionprotected void
HttpClientTransportOverHTTP2.onClose
(Connection connection, GoAwayFrame frame) -
Uses of Connection in org.eclipse.jetty.http2.client.transport.internal
Classes in org.eclipse.jetty.http2.client.transport.internal that implement ConnectionMethods in org.eclipse.jetty.http2.client.transport.internal that return ConnectionModifier and TypeMethodDescriptionprotected Connection
HttpChannelOverHTTP2.getConnection()
protected Connection
HTTPSessionListenerPromise.newConnection
(Destination destination, Session session, HTTP2Connection connection) -
Uses of Connection in org.eclipse.jetty.http3.client.transport
Methods in org.eclipse.jetty.http3.client.transport that return ConnectionModifier and TypeMethodDescriptionprotected Connection
HttpClientTransportOverHTTP3.newConnection
(Destination destination, HTTP3SessionClient session)