Package io.undertow.client.http2
Class Http2ClientProvider
java.lang.Object
io.undertow.client.http2.Http2ClientProvider
- All Implemented Interfaces:
ClientProvider
Plaintext HTTP2 client provider that works using HTTP upgrade
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalpnProtocol
(ClientCallback<ClientConnection> listener, URI uri, ByteBufferPool bufferPool, org.xnio.OptionMap options) 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)
-
Constructor Details
-
Http2ClientProvider
public Http2ClientProvider()
-
-
Method Details
-
connect
public void connect(ClientCallback<ClientConnection> listener, URI uri, org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options) - Specified by:
connect
in interfaceClientProvider
-
connect
public void connect(ClientCallback<ClientConnection> listener, URI uri, org.xnio.XnioIoThread ioThread, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options) - Specified by:
connect
in interfaceClientProvider
-
handlesSchemes
- Specified by:
handlesSchemes
in interfaceClientProvider
-
connect
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) - Specified by:
connect
in interfaceClientProvider
-
connect
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) - Specified by:
connect
in interfaceClientProvider
-
alpnProtocol
public static ALPNClientSelector.ALPNProtocol alpnProtocol(ClientCallback<ClientConnection> listener, URI uri, ByteBufferPool bufferPool, org.xnio.OptionMap options)
-