public class WebsocketSpecImpl extends Object implements WebsocketSpec
WebsocketSpecWebsocketSpec.Builder<SPEC extends WebsocketSpec.Builder<SPEC>>| Modifier | Constructor and Description |
|---|---|
protected |
WebsocketSpecImpl(WebsocketSpec.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compress()
Returns whether the websocket compression extension is enabled.
|
boolean |
handlePing()
Returns whether to proxy websocket PING frames or respond to them.
|
int |
maxFramePayloadLength()
Returns the configured maximum allowable frame payload length.
|
String |
protocols()
Returns the configured sub protocols.
|
protected WebsocketSpecImpl(WebsocketSpec.Builder<?> builder)
public final String protocols()
WebsocketSpecprotocols in interface WebsocketSpecpublic final int maxFramePayloadLength()
WebsocketSpecmaxFramePayloadLength in interface WebsocketSpecpublic final boolean handlePing()
WebsocketSpechandlePing in interface WebsocketSpecpublic boolean compress()
WebsocketSpeccompress in interface WebsocketSpec