Class HttpConnectionOverHTTP3
java.lang.Object
org.eclipse.jetty.client.HttpConnection
org.eclipse.jetty.http3.client.http.internal.HttpConnectionOverHTTP3
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Connection
,ConnectionPool.MaxUsable
,ConnectionPool.Multiplexable
,IConnection
,Attachable
public class HttpConnectionOverHTTP3
extends HttpConnection
implements ConnectionPool.Multiplexable, ConnectionPool.MaxUsable
-
Constructor Summary
ConstructorsConstructorDescriptionHttpConnectionOverHTTP3
(HttpDestination destination, HTTP3SessionClient session) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
protected Iterator<HttpChannel>
int
int
boolean
isClosed()
protected HttpChannelOverHTTP3
boolean
onIdleTimeout
(long idleTimeout, Throwable failure) void
release
(HttpChannelOverHTTP3 channel) send
(HttpExchange exchange) Methods inherited from class org.eclipse.jetty.client.HttpConnection
destroy, getAttachment, getHttpClient, getHttpDestination, normalizeRequest, send, send, setAttachment, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.client.ConnectionPool.Multiplexable
setMaxMultiplex
-
Constructor Details
-
HttpConnectionOverHTTP3
-
-
Method Details
-
getSession
-
getMaxMultiplex
public int getMaxMultiplex()- Specified by:
getMaxMultiplex
in interfaceConnectionPool.Multiplexable
- Returns:
- the max number of requests multiplexable on a single connection
-
getMaxUsageCount
public int getMaxUsageCount()- Specified by:
getMaxUsageCount
in interfaceConnectionPool.MaxUsable
- Returns:
- the max number of requests on a single connection
-
getHttpChannels
- Specified by:
getHttpChannels
in classHttpConnection
-
send
- Specified by:
send
in interfaceIConnection
-
newHttpChannel
-
release
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceConnection
- Returns:
- whether this connection has been closed
- See Also:
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceConnection
-
close
-
onIdleTimeout
- Overrides:
onIdleTimeout
in classHttpConnection
-