Module io.netty5.codec.http
Class WebSocketServerProtocolConfig
- java.lang.Object
-
- io.netty5.handler.codec.http.websocketx.WebSocketServerProtocolConfig
-
public final class WebSocketServerProtocolConfig extends Object
WebSocket server configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebSocketServerProtocolConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckStartsWith()WebSocketDecoderConfigdecoderConfig()booleandropPongFrames()longforceCloseTimeoutMillis()booleanhandleCloseFrames()longhandshakeTimeoutMillis()static WebSocketServerProtocolConfig.BuildernewBuilder()WebSocketCloseStatussendCloseFrame()Stringsubprotocols()WebSocketServerProtocolConfig.BuildertoBuilder()StringtoString()StringwebsocketPath()
-
-
-
Method Detail
-
websocketPath
public String websocketPath()
-
subprotocols
public String subprotocols()
-
checkStartsWith
public boolean checkStartsWith()
-
handshakeTimeoutMillis
public long handshakeTimeoutMillis()
-
forceCloseTimeoutMillis
public long forceCloseTimeoutMillis()
-
handleCloseFrames
public boolean handleCloseFrames()
-
sendCloseFrame
public WebSocketCloseStatus sendCloseFrame()
-
dropPongFrames
public boolean dropPongFrames()
-
decoderConfig
public WebSocketDecoderConfig decoderConfig()
-
toBuilder
public WebSocketServerProtocolConfig.Builder toBuilder()
-
newBuilder
public static WebSocketServerProtocolConfig.Builder newBuilder()
-
-