public interface SpincastUndertowConfig
| Modifier and Type | Method and Description |
|---|---|
String |
getHtmlFormEncoding()
The encoding the use to parse the data from HTML forms.
|
int |
getMilliSecondsIncrementWhenWaitingForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer()
The number of milliseconds to sleep between two validations that all
endpoints are closed properly before calling the killing server.stop() method.
|
int |
getSecondsToWaitForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer()
The number of seconds max to wait for all endpoints to be closed properly
before calling the killing server.stop() method.
|
int |
getWebsocketAutomaticPingIntervalSeconds()
When the automatic WebSocket pings are enabled, this is the
interval (in seconds) between two pings.
|
int |
getWebsocketDefaultClosingCode()
The default code to use when sending a
"closing Websocket connection" event to a peer.
|
String |
getWebsocketDefaultClosingReason()
The default reason to use when sending a
"closing Websocket connection" event to a peer.
|
String |
getWebsocketPingMessageString()
The ping text to use.
|
ThreadFactory |
getWebsocketThreadExecutorForAppEventsThreadFactory()
The
ThreadFactory to use to create threads when
sending WebSocket events to the application. |
int |
getWebsocketThreadExecutorForAppEventsThreadNumber()
The maximum number of concurrent threads used when
sending WebSocket events to the application.
|
int |
getWebsocketThreadExecutorForAppEventsTimeoutAmount()
The timeout
amount before cancelling a task when
sending WebSocket events to the application. |
TimeUnit |
getWebsocketThreadExecutorForAppEventsTimeoutTimeUnit()
The timeout
TimeUnit before cancelling a task when
sending WebSocket events to the application. |
boolean |
isWebsocketAutomaticPing()
If
true, pings will automatically
be sent to peers of a WebSocket endpoint as an
heartbeat. |
boolean isWebsocketAutomaticPing()
true, pings will automatically
be sent to peers of a WebSocket endpoint as an
heartbeat.
Enabled by default.int getWebsocketAutomaticPingIntervalSeconds()
20 seconds.String getWebsocketPingMessageString()
< 125 characters.
Defaults to "__ping"int getWebsocketDefaultClosingCode()
1000, a normal closure.String getWebsocketDefaultClosingReason()
int getWebsocketThreadExecutorForAppEventsThreadNumber()
100.int getWebsocketThreadExecutorForAppEventsTimeoutAmount()
amount before cancelling a task when
sending WebSocket events to the application.
Defaults to 60.TimeUnit getWebsocketThreadExecutorForAppEventsTimeoutTimeUnit()
TimeUnit before cancelling a task when
sending WebSocket events to the application.
Defaults to SECONDS.ThreadFactory getWebsocketThreadExecutorForAppEventsThreadFactory()
ThreadFactory to use to create threads when
sending WebSocket events to the application.
Defaults to null.int getSecondsToWaitForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer()
int getMilliSecondsIncrementWhenWaitingForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer()
String getHtmlFormEncoding()
UTF-8.Copyright © 2017. All rights reserved.