public class JettyHttp2ClientSupplier extends Object implements JettyHttpClientContract
JettyHttpClientSupplier
Constructor and Description |
---|
JettyHttp2ClientSupplier()
default Http2Client created for the supplier.
|
JettyHttp2ClientSupplier(org.eclipse.jetty.client.HttpClient http2Client)
supplier for the
HttpClient with HttpClientTransportOverHTTP2 to be optionally registered
to a ClientConfig |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.client.HttpClient |
getHttpClient()
Supply a user predefined HttpClient
|
public JettyHttp2ClientSupplier()
public JettyHttp2ClientSupplier(org.eclipse.jetty.client.HttpClient http2Client)
HttpClient
with HttpClientTransportOverHTTP2
to be optionally registered
to a ClientConfig
http2Client
- a HttpClient to be supplied when JettyConnector.getHttpClient()
is called.public org.eclipse.jetty.client.HttpClient getHttpClient()
JettyHttpClientContract
getHttpClient
in interface JettyHttpClientContract
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.