Class ConnectionBuilder
java.lang.Object
com.tremolosecurity.proxy.undertow.ConnectionBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionBuilder(org.xnio.XnioWorker worker, io.undertow.connector.ByteBufferPool bufferPool, URI uri) -
Method Summary
Modifier and TypeMethodDescriptionorg.xnio.IoFuture<io.undertow.websockets.core.WebSocketChannel> connect()static ConnectionBuilderconnectionBuilder(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.io.undertow.connector.ByteBufferPoolSet<io.undertow.websockets.extensions.ExtensionHandshake> io.undertow.websockets.client.WebSocketClientNegotiationorg.xnio.OptionMaporg.xnio.ssl.XnioSslorg.xnio.ssl.XnioSslgetSsl()getUri()io.undertow.websockets.core.WebSocketVersionorg.xnio.XnioWorkersetBindAddress(InetSocketAddress bindAddress) setClientExtensions(Set<io.undertow.websockets.extensions.ExtensionHandshake> clientExtensions) setClientNegotiation(io.undertow.websockets.client.WebSocketClientNegotiation clientNegotiation) setOptionMap(org.xnio.OptionMap optionMap) setProxySsl(org.xnio.ssl.XnioSsl proxySsl) setProxyUri(URI proxyUri) setSsl(org.xnio.ssl.XnioSsl ssl) setVersion(io.undertow.websockets.core.WebSocketVersion version)
-
Constructor Details
-
ConnectionBuilder
public ConnectionBuilder(org.xnio.XnioWorker worker, io.undertow.connector.ByteBufferPool bufferPool, URI uri)
-
-
Method Details
-
getAdditionalHeaders
-
getWorker
public org.xnio.XnioWorker getWorker() -
getUri
-
getSsl
public org.xnio.ssl.XnioSsl getSsl() -
setSsl
-
getBufferPool
public io.undertow.connector.ByteBufferPool getBufferPool() -
getOptionMap
public org.xnio.OptionMap getOptionMap() -
setOptionMap
-
getBindAddress
-
setBindAddress
-
getVersion
public io.undertow.websockets.core.WebSocketVersion getVersion() -
setVersion
-
getClientNegotiation
public io.undertow.websockets.client.WebSocketClientNegotiation getClientNegotiation() -
setClientNegotiation
public ConnectionBuilder setClientNegotiation(io.undertow.websockets.client.WebSocketClientNegotiation clientNegotiation) -
getClientExtensions
-
setClientExtensions
public ConnectionBuilder setClientExtensions(Set<io.undertow.websockets.extensions.ExtensionHandshake> clientExtensions) -
getProxyUri
-
setProxyUri
-
getProxySsl
public org.xnio.ssl.XnioSsl getProxySsl() -
setProxySsl
-
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 connectionbufferPool- The buffer pooluri- The connection URI- Returns:
- The connection builder
-