Uses of Interface
org.eclipse.jetty.client.api.Connection
-
Packages that use Connection 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.api Jetty Client : API Classesorg.eclipse.jetty.client.http org.eclipse.jetty.fcgi.client.http org.eclipse.jetty.http2.client.http -
-
Uses of Connection in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement Connection Modifier and Type Class Description classHttpConnectionMethods in org.eclipse.jetty.client that return Connection Modifier and Type Method Description ConnectionAbstractConnectionPool. acquire()protected ConnectionAbstractConnectionPool. 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.ConnectionConnectionPool. acquire()Returns an idle connection, if available, or schedules the opening of a new connection and returnsnull.protected ConnectionAbstractConnectionPool. activate()Methods in org.eclipse.jetty.client that return types with arguments of type Connection Modifier and Type Method Description java.util.Collection<Connection>AbstractConnectionPool. getActiveConnections()Deprecated.Relying on this method indicates a reliance on the implementation details.java.util.Queue<Connection>AbstractConnectionPool. getIdleConnections()Deprecated.Relying on this method indicates a reliance on the implementation details.Methods in org.eclipse.jetty.client with parameters of type Connection Modifier and Type Method Description protected voidAbstractConnectionPool. acquired(Connection connection)protected voidLeakTrackingConnectionPool. acquired(Connection connection)voidHttpDestination. close(Connection connection)Deprecated.useHttpDestination.remove(Connection)insteadprotected booleanAbstractConnectionPool. deactivate(Connection connection)protected booleanAbstractConnectionPool. idle(Connection connection, boolean close)booleanAbstractConnectionPool. isActive(Connection connection)booleanConnectionPool. isActive(Connection connection)protected voidAbstractConnectionPool. onCreated(Connection connection)booleanAbstractConnectionPool. release(Connection connection)booleanConnectionPool. release(Connection connection)Returns the given connection, previously obtained viaConnectionPool.acquire(), back to this ConnectionPool.voidHttpDestination. release(Connection connection)booleanValidatingConnectionPool. release(Connection connection)protected voidAbstractConnectionPool. released(Connection connection)protected voidLeakTrackingConnectionPool. released(Connection connection)booleanAbstractConnectionPool. remove(Connection connection)protected booleanAbstractConnectionPool. remove(Connection connection, boolean force)Deprecated.booleanConnectionPool. remove(Connection connection)Removes the given connection from this ConnectionPool.booleanHttpDestination. remove(Connection connection)booleanValidatingConnectionPool. remove(Connection connection)protected voidAbstractConnectionPool. removed(Connection connection)protected abstract SendFailureHttpDestination. send(Connection connection, HttpExchange exchange)Method parameters in org.eclipse.jetty.client with type arguments of type Connection Modifier and Type Method Description protected voidHttpDestination. createConnection(Promise<Connection> promise)protected voidHttpClient. newConnection(HttpDestination destination, Promise<Connection> promise)voidHttpDestination. newConnection(Promise<Connection> promise)Constructor parameters in org.eclipse.jetty.client with type arguments of type Connection Constructor Description AbstractConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester)DuplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester)Deprecated.MultiplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester, int maxMultiplex)Deprecated. -
Uses of Connection in org.eclipse.jetty.client.api
Method parameters in org.eclipse.jetty.client.api with type arguments of type Connection Modifier and Type Method Description voidDestination. newConnection(Promise<Connection> promise)Creates asynchronously a new, unpooled,Connectionthat will be returned at a later time through the givenPromise. -
Uses of Connection in org.eclipse.jetty.client.http
Classes in org.eclipse.jetty.client.http that implement Connection Modifier and Type Class Description classHttpConnectionOverHTTPMethods in org.eclipse.jetty.client.http with parameters of type Connection Modifier and Type Method Description protected SendFailureHttpDestinationOverHTTP. send(Connection connection, HttpExchange exchange)Method parameters in org.eclipse.jetty.client.http with type arguments of type Connection Modifier and Type Method Description protected HttpConnectionOverHTTPHttpClientTransportOverHTTP. newHttpConnection(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise)Constructor parameters in org.eclipse.jetty.client.http with type arguments of type Connection Constructor Description HttpConnectionOverHTTP(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise) -
Uses of Connection in org.eclipse.jetty.fcgi.client.http
Classes in org.eclipse.jetty.fcgi.client.http that implement Connection Modifier and Type Class Description classHttpConnectionOverFCGIMethods in org.eclipse.jetty.fcgi.client.http with parameters of type Connection Modifier and Type Method Description protected SendFailureHttpDestinationOverFCGI. send(Connection connection, HttpExchange exchange)protected SendFailureMultiplexHttpDestinationOverFCGI. send(Connection connection, HttpExchange exchange)Method parameters in org.eclipse.jetty.fcgi.client.http with type arguments of type Connection Modifier and Type Method Description protected HttpConnectionOverFCGIHttpClientTransportOverFCGI. newHttpConnection(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise)Constructor parameters in org.eclipse.jetty.fcgi.client.http with type arguments of type Connection Constructor Description HttpConnectionOverFCGI(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise, boolean multiplexed) -
Uses of Connection in org.eclipse.jetty.http2.client.http
Classes in org.eclipse.jetty.http2.client.http that implement Connection Modifier and Type Class Description classHttpConnectionOverHTTP2Methods in org.eclipse.jetty.http2.client.http with parameters of type Connection Modifier and Type Method Description protected SendFailureHttpDestinationOverHTTP2. send(Connection connection, HttpExchange exchange)
-