Class ConnectionBuilder
java.lang.Object
com.tremolosecurity.proxy.undertow.ConnectionBuilder
-
Constructor Summary
ConstructorDescriptionConnectionBuilder
(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 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.io.undertow.connector.ByteBufferPool
Set
<io.undertow.websockets.extensions.ExtensionHandshake> io.undertow.websockets.client.WebSocketClientNegotiation
org.xnio.OptionMap
org.xnio.ssl.XnioSsl
org.xnio.ssl.XnioSsl
getSsl()
getUri()
io.undertow.websockets.core.WebSocketVersion
org.xnio.XnioWorker
setBindAddress
(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
-