Top Fields Constructors Methods
io.undertow.client.http

public Class HttpClientProvider

extends Object
implements ClientProvider
Class Inheritance
All Implemented Interfaces
io.undertow.client.ClientProvider
Imports
io.undertow.UndertowMessages, .UndertowOptions, io.undertow.client.ALPNClientSelector, .ClientCallback, .ClientConnection, .ClientProvider, io.undertow.client.http2.Http2ClientProvider, org.xnio.ChannelListener, .IoFuture, .OptionMap, .Options, .StreamConnection, .XnioIoThread, .XnioWorker, io.undertow.connector.ByteBufferPool, org.xnio.ssl.SslConnection, .XnioSsl, java.io.IOException, java.net.InetSocketAddress, .URI, java.security.AccessController, .PrivilegedAction, java.util.ArrayList, .Arrays, .HashSet, .List, .Set

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
public static final boolean
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
connect(final ClientCallback<ClientConnection> listener, final URI uri, final XnioWorker worker, final XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap options)

Implements io.undertow.client.ClientProvider.connect.

public void
connect(final ClientCallback<ClientConnection> listener, final URI uri, final XnioIoThread ioThread, final XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap options)

Implements io.undertow.client.ClientProvider.connect.

public void
public void
private IoFuture.Notifier<StreamConnection, Object>
private ChannelListener<StreamConnection>
createOpenListener(final ClientCallback<ClientConnection> listener, final ByteBufferPool bufferPool, final OptionMap options, final URI uri)

private void
handleConnected(final StreamConnection connection, final ClientCallback<ClientConnection> listener, final ByteBufferPool bufferPool, final OptionMap options, URI uri)

public Set<String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DISABLE_HTTPS_ENDPOINT_IDENTIFICATIONback to summary
public static final boolean DISABLE_HTTPS_ENDPOINT_IDENTIFICATION
DISABLE_HTTPS_ENDPOINT_IDENTIFICATION_PROPERTYback to summary
public static final String DISABLE_HTTPS_ENDPOINT_IDENTIFICATION_PROPERTY

Constructor Detail

HttpClientProviderback to summary
public HttpClientProvider()

Method Detail

connectback to summary
public void connect(final ClientCallback<ClientConnection> listener, final URI uri, final XnioWorker worker, final XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap options)

Implements io.undertow.client.ClientProvider.connect.

Annotations
@Override
connectback to summary
public void connect(final ClientCallback<ClientConnection> listener, final URI uri, final XnioIoThread ioThread, final XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap options)

Implements io.undertow.client.ClientProvider.connect.

Annotations
@Override
connectback to summary
public void connect(ClientCallback<ClientConnection> listener, InetSocketAddress bindAddress, URI uri, XnioWorker worker, XnioSsl ssl, ByteBufferPool bufferPool, OptionMap options)

Implements io.undertow.client.ClientProvider.connect.

Annotations
@Override
connectback to summary
public void connect(ClientCallback<ClientConnection> listener, InetSocketAddress bindAddress, URI uri, XnioIoThread ioThread, XnioSsl ssl, ByteBufferPool bufferPool, OptionMap options)

Implements io.undertow.client.ClientProvider.connect.

Annotations
@Override
createNotifierback to summary
private IoFuture.Notifier<StreamConnection, Object> createNotifier(final ClientCallback<ClientConnection> listener)
createOpenListenerback to summary
private ChannelListener<StreamConnection> createOpenListener(final ClientCallback<ClientConnection> listener, final ByteBufferPool bufferPool, final OptionMap options, final URI uri)
handleConnectedback to summary
private void handleConnected(final StreamConnection connection, final ClientCallback<ClientConnection> listener, final ByteBufferPool bufferPool, final OptionMap options, URI uri)
handlesSchemesback to summary
public Set<String> handlesSchemes()

Implements io.undertow.client.ClientProvider.handlesSchemes.

Annotations
@Override