public static class WebSocketClient.ConnectionBuilder extends Object
Constructor and Description |
---|
ConnectionBuilder(XnioWorker worker,
ByteBufferPool bufferPool,
URI uri) |
public ConnectionBuilder(XnioWorker worker, ByteBufferPool bufferPool, URI uri)
public XnioWorker getWorker()
public URI getUri()
public XnioSsl getSsl()
public WebSocketClient.ConnectionBuilder setSsl(XnioSsl ssl)
public ByteBufferPool getBufferPool()
public OptionMap getOptionMap()
public WebSocketClient.ConnectionBuilder setOptionMap(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 XnioSsl getProxySsl()
public WebSocketClient.ConnectionBuilder setProxySsl(XnioSsl proxySsl)
public IoFuture<WebSocketChannel> connect()
Copyright © 2016 JBoss by Red Hat. All rights reserved.