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 class
WebSocketServerProtocolConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkStartsWith()
WebSocketDecoderConfig
decoderConfig()
boolean
dropPongFrames()
long
forceCloseTimeoutMillis()
boolean
handleCloseFrames()
long
handshakeTimeoutMillis()
static WebSocketServerProtocolConfig.Builder
newBuilder()
WebSocketCloseStatus
sendCloseFrame()
String
subprotocols()
WebSocketServerProtocolConfig.Builder
toBuilder()
String
toString()
String
websocketPath()
-
-
-
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()
-
-