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 ClientProviderpublic 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 ClientProviderpublic Set<String> handlesSchemes()
handlesSchemes in interface ClientProviderpublic 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 ClientProviderpublic 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 ClientProviderpublic 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 © 2015 JBoss by Red Hat. All rights reserved.