Module io.netty5.codec.http
Class WebSocketClientProtocolConfig
- java.lang.Object
-
- io.netty5.handler.codec.http.websocketx.WebSocketClientProtocolConfig
-
public final class WebSocketClientProtocolConfig extends Object
WebSocket server configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebSocketClientProtocolConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
absoluteUpgradeUrl()
boolean
allowExtensions()
boolean
allowMaskMismatch()
HttpHeaders
customHeaders()
boolean
dropPongFrames()
long
forceCloseTimeoutMillis()
boolean
handleCloseFrames()
long
handshakeTimeoutMillis()
int
maxFramePayloadLength()
static WebSocketClientProtocolConfig.Builder
newBuilder()
boolean
performMasking()
WebSocketCloseStatus
sendCloseFrame()
String
subprotocol()
WebSocketClientProtocolConfig.Builder
toBuilder()
String
toString()
WebSocketVersion
version()
URI
webSocketUri()
-
-
-
Method Detail
-
webSocketUri
public URI webSocketUri()
-
subprotocol
public String subprotocol()
-
version
public WebSocketVersion version()
-
allowExtensions
public boolean allowExtensions()
-
customHeaders
public HttpHeaders customHeaders()
-
maxFramePayloadLength
public int maxFramePayloadLength()
-
performMasking
public boolean performMasking()
-
allowMaskMismatch
public boolean allowMaskMismatch()
-
handleCloseFrames
public boolean handleCloseFrames()
-
sendCloseFrame
public WebSocketCloseStatus sendCloseFrame()
-
dropPongFrames
public boolean dropPongFrames()
-
handshakeTimeoutMillis
public long handshakeTimeoutMillis()
-
forceCloseTimeoutMillis
public long forceCloseTimeoutMillis()
-
absoluteUpgradeUrl
public boolean absoluteUpgradeUrl()
-
toBuilder
public WebSocketClientProtocolConfig.Builder toBuilder()
-
newBuilder
public static WebSocketClientProtocolConfig.Builder newBuilder()
-
-