public class SpdyClientProvider extends Object implements ClientProvider
Constructor and Description |
---|
SpdyClientProvider() |
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 | handlePotentialSpdyConnection(org.xnio.StreamConnection connection, ClientCallback<ClientConnection> listener, ByteBufferPool bufferPool, org.xnio.OptionMap options, org.xnio.ChannelListener<org.xnio.ssl.SslConnection> spdyFailedListener) Not really part of the public API, but is used by the HTTP client to initiate a SPDY 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 handlePotentialSpdyConnection(org.xnio.StreamConnection connection, ClientCallback<ClientConnection> listener, ByteBufferPool bufferPool, org.xnio.OptionMap options, org.xnio.ChannelListener<org.xnio.ssl.SslConnection> spdyFailedListener)
Copyright © 2015 JBoss by Red Hat. All rights reserved.