Class UndertowClient


  • public final class UndertowClient
    extends java.lang.Object
    Undertow client class. This class loads ClientProvider implementations, and uses them to create connections to a target.
    Author:
    Stuart Douglas
    • Method Detail

      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.URI uri,
                                                           org.xnio.XnioWorker worker,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.InetSocketAddress bindAddress,
                                                           java.net.URI uri,
                                                           org.xnio.XnioWorker worker,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.URI uri,
                                                           org.xnio.XnioWorker worker,
                                                           org.xnio.ssl.XnioSsl ssl,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.InetSocketAddress bindAddress,
                                                           java.net.URI uri,
                                                           org.xnio.XnioWorker worker,
                                                           org.xnio.ssl.XnioSsl ssl,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.URI uri,
                                                           org.xnio.XnioIoThread ioThread,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.InetSocketAddress bindAddress,
                                                           java.net.URI uri,
                                                           org.xnio.XnioIoThread ioThread,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.URI uri,
                                                           org.xnio.XnioIoThread ioThread,
                                                           org.xnio.ssl.XnioSsl ssl,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public org.xnio.IoFuture<ClientConnection> connect​(java.net.InetSocketAddress bindAddress,
                                                           java.net.URI uri,
                                                           org.xnio.XnioIoThread ioThread,
                                                           org.xnio.ssl.XnioSsl ssl,
                                                           ByteBufferPool bufferPool,
                                                           org.xnio.OptionMap options)
      • connect

        public void connect​(ClientCallback<ClientConnection> listener,
                            java.net.InetSocketAddress bindAddress,
                            java.net.URI uri,
                            org.xnio.XnioWorker worker,
                            ByteBufferPool bufferPool,
                            org.xnio.OptionMap options)
      • connect

        public void connect​(ClientCallback<ClientConnection> listener,
                            java.net.InetSocketAddress bindAddress,
                            java.net.URI uri,
                            org.xnio.XnioWorker worker,
                            org.xnio.ssl.XnioSsl ssl,
                            ByteBufferPool bufferPool,
                            org.xnio.OptionMap options)
      • connect

        public void connect​(ClientCallback<ClientConnection> listener,
                            java.net.InetSocketAddress bindAddress,
                            java.net.URI uri,
                            org.xnio.XnioIoThread ioThread,
                            ByteBufferPool bufferPool,
                            org.xnio.OptionMap options)
      • connect

        public void connect​(ClientCallback<ClientConnection> listener,
                            java.net.InetSocketAddress bindAddress,
                            java.net.URI uri,
                            org.xnio.XnioIoThread ioThread,
                            org.xnio.ssl.XnioSsl ssl,
                            ByteBufferPool bufferPool,
                            org.xnio.OptionMap options)
      • getInstance

        public static UndertowClient getInstance​(java.lang.ClassLoader classLoader)