Class ConnectionBuilder

java.lang.Object
com.tremolosecurity.proxy.undertow.ConnectionBuilder

public class ConnectionBuilder extends Object
  • Constructor Details

    • ConnectionBuilder

      public ConnectionBuilder(org.xnio.XnioWorker worker, io.undertow.connector.ByteBufferPool bufferPool, URI uri)
  • Method Details

    • getAdditionalHeaders

      public Map<String,List<String>> getAdditionalHeaders()
    • getWorker

      public org.xnio.XnioWorker getWorker()
    • getUri

      public URI getUri()
    • getSsl

      public org.xnio.ssl.XnioSsl getSsl()
    • setSsl

      public ConnectionBuilder setSsl(org.xnio.ssl.XnioSsl ssl)
    • getBufferPool

      public io.undertow.connector.ByteBufferPool getBufferPool()
    • getOptionMap

      public org.xnio.OptionMap getOptionMap()
    • setOptionMap

      public ConnectionBuilder setOptionMap(org.xnio.OptionMap optionMap)
    • getBindAddress

      public InetSocketAddress getBindAddress()
    • setBindAddress

      public ConnectionBuilder setBindAddress(InetSocketAddress bindAddress)
    • getVersion

      public io.undertow.websockets.core.WebSocketVersion getVersion()
    • setVersion

      public ConnectionBuilder setVersion(io.undertow.websockets.core.WebSocketVersion version)
    • getClientNegotiation

      public io.undertow.websockets.client.WebSocketClientNegotiation getClientNegotiation()
    • setClientNegotiation

      public ConnectionBuilder setClientNegotiation(io.undertow.websockets.client.WebSocketClientNegotiation clientNegotiation)
    • getClientExtensions

      public Set<io.undertow.websockets.extensions.ExtensionHandshake> getClientExtensions()
    • setClientExtensions

      public ConnectionBuilder setClientExtensions(Set<io.undertow.websockets.extensions.ExtensionHandshake> clientExtensions)
    • getProxyUri

      public URI getProxyUri()
    • setProxyUri

      public ConnectionBuilder setProxyUri(URI proxyUri)
    • getProxySsl

      public org.xnio.ssl.XnioSsl getProxySsl()
    • setProxySsl

      public ConnectionBuilder setProxySsl(org.xnio.ssl.XnioSsl proxySsl)
    • connect

      public org.xnio.IoFuture<io.undertow.websockets.core.WebSocketChannel> connect()
    • connectionBuilder

      public static ConnectionBuilder connectionBuilder(org.xnio.XnioWorker worker, io.undertow.connector.ByteBufferPool bufferPool, URI uri)
      Creates a new connection builder that can be used to create a web socket connection.
      Parameters:
      worker - The XnioWorker to use for the connection
      bufferPool - The buffer pool
      uri - The connection URI
      Returns:
      The connection builder