public static class WebSocketClient.ConnectionBuilder extends Object
Constructor and Description |
---|
ConnectionBuilder(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, URI uri) |
public ConnectionBuilder(org.xnio.XnioWorker worker, ByteBufferPool bufferPool, URI uri)
public org.xnio.XnioWorker getWorker()
public URI getUri()
public org.xnio.ssl.XnioSsl getSsl()
public WebSocketClient.ConnectionBuilder setSsl(org.xnio.ssl.XnioSsl ssl)
public ByteBufferPool getBufferPool()
public org.xnio.OptionMap getOptionMap()
public WebSocketClient.ConnectionBuilder setOptionMap(org.xnio.OptionMap optionMap)
public InetSocketAddress getBindAddress()
public WebSocketClient.ConnectionBuilder setBindAddress(InetSocketAddress bindAddress)
public WebSocketVersion getVersion()
public WebSocketClient.ConnectionBuilder setVersion(WebSocketVersion version)
public WebSocketClientNegotiation getClientNegotiation()
public WebSocketClient.ConnectionBuilder setClientNegotiation(WebSocketClientNegotiation clientNegotiation)
public Set<ExtensionHandshake> getClientExtensions()
public WebSocketClient.ConnectionBuilder setClientExtensions(Set<ExtensionHandshake> clientExtensions)
public URI getProxyUri()
public WebSocketClient.ConnectionBuilder setProxyUri(URI proxyUri)
public org.xnio.ssl.XnioSsl getProxySsl()
public WebSocketClient.ConnectionBuilder setProxySsl(org.xnio.ssl.XnioSsl proxySsl)
public org.xnio.IoFuture<WebSocketChannel> connect()
Copyright © 2017 JBoss by Red Hat. All rights reserved.