public class Http2ClientProvider extends Object implements ClientProvider
Constructor and Description |
---|
Http2ClientProvider() |
Modifier and Type | Method and Description |
---|---|
void |
connect(ClientCallback<ClientConnection> listener,
InetSocketAddress bindAddress,
URI uri,
org.xnio.XnioIoThread ioThread,
org.xnio.ssl.XnioSsl ssl,
ByteBufferPool bufferPool,
org.xnio.OptionMap options) |
void |
connect(ClientCallback<ClientConnection> listener,
InetSocketAddress bindAddress,
URI uri,
org.xnio.XnioWorker worker,
org.xnio.ssl.XnioSsl ssl,
ByteBufferPool bufferPool,
org.xnio.OptionMap options) |
void |
connect(ClientCallback<ClientConnection> listener,
URI uri,
org.xnio.XnioIoThread ioThread,
org.xnio.ssl.XnioSsl ssl,
ByteBufferPool bufferPool,
org.xnio.OptionMap options) |
void |
connect(ClientCallback<ClientConnection> listener,
URI uri,
org.xnio.XnioWorker worker,
org.xnio.ssl.XnioSsl ssl,
ByteBufferPool bufferPool,
org.xnio.OptionMap options) |
static void |
handlePotentialHttp2Connection(org.xnio.StreamConnection connection,
ClientCallback<ClientConnection> listener,
ByteBufferPool bufferPool,
org.xnio.OptionMap options,
org.xnio.ChannelListener<org.xnio.ssl.SslConnection> http2FailedListener,
URI uri)
Not really part of the public API, but is used by the HTTP client to initiate a HTTP2 connection for HTTPS requests.
|
Set<String> |
handlesSchemes() |
static boolean |
isEnabled() |
public void connect(ClientCallback<ClientConnection> listener, URI uri, org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)
connect
in interface ClientProvider
public void connect(ClientCallback<ClientConnection> listener, URI uri, org.xnio.XnioIoThread ioThread, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)
connect
in interface ClientProvider
public Set<String> handlesSchemes()
handlesSchemes
in interface ClientProvider
public void connect(ClientCallback<ClientConnection> listener, InetSocketAddress bindAddress, URI uri, org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)
connect
in interface ClientProvider
public void connect(ClientCallback<ClientConnection> listener, InetSocketAddress bindAddress, URI uri, org.xnio.XnioIoThread ioThread, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)
connect
in interface ClientProvider
public static boolean isEnabled()
public static void handlePotentialHttp2Connection(org.xnio.StreamConnection connection, ClientCallback<ClientConnection> listener, ByteBufferPool bufferPool, org.xnio.OptionMap options, org.xnio.ChannelListener<org.xnio.ssl.SslConnection> http2FailedListener, URI uri)
Copyright © 2016. All rights reserved.