| Package | Description |
|---|---|
| org.jboss.aerogear.io.netty.handler.codec.sockjs |
An SockJS impelementation.
|
| Modifier and Type | Method and Description |
|---|---|
SockJsConfig.Builder |
SockJsConfig.Builder.cookiesNeeded()
Determines if a
JSESSIONID cookie will be set. |
SockJsConfig.Builder |
SockJsConfig.Builder.disableWebSocket()
Will disable WebSocket suppport.
|
SockJsConfig.Builder |
SockJsConfig.Builder.heartbeatInterval(long ms)
Specifies a heartbeat interval.
|
SockJsConfig.Builder |
SockJsConfig.Builder.keyStore(String keyStore)
Specifies the keystore to be used if transport layer security (TLS) is enabled.
|
SockJsConfig.Builder |
SockJsConfig.Builder.keyStorePassword(String password)
Specifies the keystore password to be used if transport layer security (TLS) is enabled.
|
SockJsConfig.Builder |
SockJsConfig.Builder.maxStreamingBytesSize(int max)
The max number of types that a streaming transport protocol should allow to be returned
before closing the connection, forcing the client to reconnect.
|
SockJsConfig.Builder |
SockJsConfig.Builder.sessionTimeout(long ms)
The max number of types that a streaming transport protocol should allow to be returned
before closing the connection, forcing the client to reconnect.
|
SockJsConfig.Builder |
SockJsConfig.Builder.sockJsUrl(String sockJsUrl)
The url to the sock-js-
|
SockJsConfig.Builder |
SockJsConfig.Builder.tls(boolean tls)
Determines whether transport layer security (TLS) should be used.
|
SockJsConfig.Builder |
SockJsConfig.Builder.webSocketHeartbeatInterval(long ms)
Specifies a heartbeat interval for SockJS WebSocket transport.
|
SockJsConfig.Builder |
SockJsConfig.Builder.webSocketProtocols(String... protocols)
Adds the given protocols which will be returned to during the
Http upgrade request as the header 'WebSocket-Protocol'.
|
static SockJsConfig.Builder |
SockJsConfig.withPrefix(String prefix)
The prefix, or name, of the service.
|
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.