@Immutable public class WebsocketListener extends Object implements Listener
| Modifier and Type | Class and Description |
|---|---|
static class |
WebsocketListener.Builder
A builder which allows to conveniently build a listener object with a fluent API
|
| Modifier | Constructor and Description |
|---|---|
protected |
WebsocketListener(int port,
String bindAddress,
String path,
boolean allowExtensions,
List<String> subprotocols,
boolean proxyProtocolSupported,
SocketOptionsProperties socketOptionsProperties,
ConnectOverloadProtectionProperties connectOverloadProtectionProperties,
ClientWriteBufferProperties clientWriteBufferProperties) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAllowExtensions() |
String |
getBindAddress() |
com.google.common.base.Optional<ClientWriteBufferProperties> |
getClientWriteBufferProperties() |
com.google.common.base.Optional<ConnectOverloadProtectionProperties> |
getConnectOverloadProtectionProperties() |
String |
getPath() |
int |
getPort() |
com.google.common.base.Optional<SocketOptionsProperties> |
getSocketOptionsProperties() |
List<String> |
getSubprotocols() |
boolean |
isProxyProtocolSupported() |
String |
readableName() |
protected WebsocketListener(int port,
String bindAddress,
String path,
boolean allowExtensions,
List<String> subprotocols,
boolean proxyProtocolSupported,
SocketOptionsProperties socketOptionsProperties,
ConnectOverloadProtectionProperties connectOverloadProtectionProperties,
ClientWriteBufferProperties clientWriteBufferProperties)
public int getPort()
public String getBindAddress()
getBindAddress in interface Listenerpublic String readableName()
readableName in interface Listenerpublic boolean isProxyProtocolSupported()
isProxyProtocolSupported in interface Listenerpublic com.google.common.base.Optional<SocketOptionsProperties> getSocketOptionsProperties()
getSocketOptionsProperties in interface ListenerOptional of SocketOptionsProperties of this listenerpublic com.google.common.base.Optional<ConnectOverloadProtectionProperties> getConnectOverloadProtectionProperties()
getConnectOverloadProtectionProperties in interface ListenerOptional of ConnectOverloadProtectionProperties of this listenerpublic com.google.common.base.Optional<ClientWriteBufferProperties> getClientWriteBufferProperties()
getClientWriteBufferProperties in interface ListenerOptional of ClientWriteBufferProperties of this listenerpublic String getPath()
public Boolean getAllowExtensions()
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.