Module io.netty5.codec.http
Interface WebSocketServerExtensionHandshaker
-
- All Known Implementing Classes:
DeflateFrameServerExtensionHandshaker
,PerMessageDeflateServerExtensionHandshaker
public interface WebSocketServerExtensionHandshaker
Handshakes a client extension based on this server capabilities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebSocketServerExtension
handshakeExtension(WebSocketExtensionData extensionData)
Handshake based on client request.
-
-
-
Method Detail
-
handshakeExtension
WebSocketServerExtension handshakeExtension(WebSocketExtensionData extensionData)
Handshake based on client request. It must failed with null if server cannot handle it.- Parameters:
extensionData
- the extension configuration sent by the client.- Returns:
- an initialized extension if handshake phase succeed or null if failed.
-
-