public class WebsocketSpecImpl extends Object implements WebsocketSpec
WebsocketSpec
WebsocketSpec.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)
@Nullable public final String protocols()
WebsocketSpec
protocols
in interface WebsocketSpec
public final int maxFramePayloadLength()
WebsocketSpec
maxFramePayloadLength
in interface WebsocketSpec
public final boolean handlePing()
WebsocketSpec
handlePing
in interface WebsocketSpec
public boolean compress()
WebsocketSpec
compress
in interface WebsocketSpec