Package io.undertow.client.http2
Class Http2ClearClientProvider
- java.lang.Object
-
- io.undertow.client.http2.Http2ClearClientProvider
-
- All Implemented Interfaces:
ClientProvider
public class Http2ClearClientProvider extends Object implements ClientProvider
HTTP2 client provider that uses HTTP upgrade rather than ALPN. This provider will only use h2c, and sends an initial dummy request to do the initial upgrade.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description Http2ClearClientProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(ClientCallback<ClientConnection> listener, InetSocketAddress bindAddress, URI uri, org.xnio.XnioIoThread ioThread, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)voidconnect(ClientCallback<ClientConnection> listener, InetSocketAddress bindAddress, URI uri, org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)voidconnect(ClientCallback<ClientConnection> listener, URI uri, org.xnio.XnioIoThread ioThread, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)voidconnect(ClientCallback<ClientConnection> listener, URI uri, org.xnio.XnioWorker worker, org.xnio.ssl.XnioSsl ssl, ByteBufferPool bufferPool, org.xnio.OptionMap options)static StringcreateSettingsFrame(org.xnio.OptionMap options, ByteBufferPool bufferPool)Set<String>handlesSchemes()
-
-
-
Method Detail
-
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:
connectin 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:
connectin interfaceClientProvider
-
handlesSchemes
public Set<String> handlesSchemes()
- Specified by:
handlesSchemesin 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:
connectin 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:
connectin interfaceClientProvider
-
createSettingsFrame
public static String createSettingsFrame(org.xnio.OptionMap options, ByteBufferPool bufferPool)
-
-