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 class
HttpConnection
Methods in org.eclipse.jetty.client that return Connection Modifier and Type Method Description Connection
AbstractConnectionPool. acquire()
protected Connection
AbstractConnectionPool. 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
.Connection
ConnectionPool. acquire()
Returns an idle connection, if available, or schedules the opening of a new connection and returnsnull
.protected Connection
AbstractConnectionPool. 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 void
AbstractConnectionPool. acquired(Connection connection)
protected void
LeakTrackingConnectionPool. acquired(Connection connection)
void
HttpDestination. close(Connection connection)
Deprecated.useHttpDestination.remove(Connection)
insteadprotected boolean
AbstractConnectionPool. deactivate(Connection connection)
protected boolean
AbstractConnectionPool. idle(Connection connection, boolean close)
boolean
AbstractConnectionPool. isActive(Connection connection)
boolean
ConnectionPool. isActive(Connection connection)
protected void
AbstractConnectionPool. onCreated(Connection connection)
boolean
AbstractConnectionPool. release(Connection connection)
boolean
ConnectionPool. release(Connection connection)
Returns the given connection, previously obtained viaConnectionPool.acquire()
, back to this ConnectionPool.void
HttpDestination. release(Connection connection)
boolean
ValidatingConnectionPool. release(Connection connection)
protected void
AbstractConnectionPool. released(Connection connection)
protected void
LeakTrackingConnectionPool. released(Connection connection)
boolean
AbstractConnectionPool. remove(Connection connection)
protected boolean
AbstractConnectionPool. remove(Connection connection, boolean force)
Deprecated.boolean
ConnectionPool. remove(Connection connection)
Removes the given connection from this ConnectionPool.boolean
HttpDestination. remove(Connection connection)
boolean
ValidatingConnectionPool. remove(Connection connection)
protected void
AbstractConnectionPool. removed(Connection connection)
protected abstract SendFailure
HttpDestination. send(Connection connection, HttpExchange exchange)
Method parameters in org.eclipse.jetty.client with type arguments of type Connection Modifier and Type Method Description protected void
HttpDestination. createConnection(Promise<Connection> promise)
protected void
HttpClient. newConnection(HttpDestination destination, Promise<Connection> promise)
void
HttpDestination. 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 void
Destination. newConnection(Promise<Connection> promise)
Creates asynchronously a new, unpooled,Connection
that 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 class
HttpConnectionOverHTTP
Methods in org.eclipse.jetty.client.http with parameters of type Connection Modifier and Type Method Description protected SendFailure
HttpDestinationOverHTTP. 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 HttpConnectionOverHTTP
HttpClientTransportOverHTTP. 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 class
HttpConnectionOverFCGI
Methods in org.eclipse.jetty.fcgi.client.http with parameters of type Connection Modifier and Type Method Description protected SendFailure
HttpDestinationOverFCGI. send(Connection connection, HttpExchange exchange)
protected SendFailure
MultiplexHttpDestinationOverFCGI. 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 HttpConnectionOverFCGI
HttpClientTransportOverFCGI. 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 class
HttpConnectionOverHTTP2
Methods in org.eclipse.jetty.http2.client.http with parameters of type Connection Modifier and Type Method Description protected SendFailure
HttpDestinationOverHTTP2. send(Connection connection, HttpExchange exchange)
-