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 givencreateparameter istrueorAbstractConnectionPool.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 givencreateparameter 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 ConnectionAbstractConnectionPool.activate()default ConnectionRequest.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,Connectionthat 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 givendefaultMaxMultiplexvalue.Methods in org.eclipse.jetty.client with parameters of type ConnectionModifier and TypeMethodDescriptionbooleanAbstractConnectionPool.accept(Connection connection) booleanConnectionPool.accept(Connection connection) Accepts the given connection to be managed by this ConnectionPool.protected voidAbstractConnectionPool.acquired(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.Racy API.protected booleanAbstractConnectionPool.deactivate(Connection connection) protected booleanAbstractConnectionPool.idle(Connection connection, boolean close) Deprecated, for removal: This API element is subject to removal in a future version.Racy API.booleanAbstractConnectionPool.isActive(Connection connection) booleanConnectionPool.isActive(Connection connection) protected voidAbstractConnectionPool.onCreated(Connection connection) Callback method invoked when a newConnectionhas been created.protected voidAbstractConnectionPool.onRemoved(Connection connection) Callback method invoked when aConnectionhas been removed from this pool.booleanAbstractConnectionPool.release(Connection connection) booleanConnectionPool.release(Connection connection) Returns the given connection, previously obtained viaConnectionPool.acquire(boolean), back to this ConnectionPool.booleanValidatingConnectionPool.release(Connection connection) protected voidAbstractConnectionPool.released(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.Racy API.booleanAbstractConnectionPool.remove(Connection connection) booleanConnectionPool.remove(Connection connection) Removes the given connection from this ConnectionPool.booleanValidatingConnectionPool.remove(Connection connection) protected voidAbstractConnectionPool.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 givenConnectionand returns aCompletableFuturethat is completed when the request/response completes.Method parameters in org.eclipse.jetty.client with type arguments of type ConnectionModifier and TypeMethodDescriptionvoidDestination.newConnection(Promise<Connection> promise) Creates asynchronously a new, unpooled,Connectionthat will be returned at a later time through the givenPromise.voidHttpClient.newConnection(Destination destination, Promise<Connection> promise) Constructor parameters in org.eclipse.jetty.client with type arguments of type ConnectionModifierConstructorDescriptionprotectedAbstractConnectionPool(Destination destination, Pool.Factory<Connection> poolFactory, int initialMaxMultiplex) protectedMultiplexConnectionPool(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 ConnectionHttpChannel.getConnection()HttpRequest.getConnection()Methods in org.eclipse.jetty.client.transport with parameters of type ConnectionModifier and TypeMethodDescriptionvoidHttpDestination.accept(Connection connection) voidHttpDestination.release(Connection connection) booleanHttpDestination.remove(Connection connection) Method parameters in org.eclipse.jetty.client.transport with type arguments of type ConnectionModifier and TypeMethodDescriptionprotected voidHttpDestination.createConnection(Promise<Connection> promise) voidHttpDestination.newConnection(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 ConnectionHttpClientTransportOverFCGI.newConnection(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 ConnectionHttpClientTransportOverHTTP2.newConnection(Destination destination, Session session, HTTP2Connection connection) Methods in org.eclipse.jetty.http2.client.transport with parameters of type ConnectionModifier and TypeMethodDescriptionprotected voidHttpClientTransportOverHTTP2.onClose(Connection connection, GoAwayFrame frame)  - 
Uses of Connection in org.eclipse.jetty.http3.client.transport
Methods in org.eclipse.jetty.http3.client.transport that return ConnectionModifier and TypeMethodDescriptionprotected ConnectionHttpClientTransportOverHTTP3.newConnection(Destination destination, HTTP3SessionClient session)