Package org.apache.myfaces.push
Class WebsocketConfigurator
- java.lang.Object
-
- jakarta.websocket.server.ServerEndpointConfig.Configurator
-
- org.apache.myfaces.push.WebsocketConfigurator
-
public class WebsocketConfigurator extends jakarta.websocket.server.ServerEndpointConfig.Configurator
-
-
Field Summary
Fields Modifier and Type Field Description static String
MAX_IDLE_TIMEOUT
static String
WEBSOCKET_USER
static String
WEBSOCKET_VALID
-
Constructor Summary
Constructors Constructor Description WebsocketConfigurator(ExternalContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
modifyHandshake(jakarta.websocket.server.ServerEndpointConfig sec, jakarta.websocket.server.HandshakeRequest request, jakarta.websocket.HandshakeResponse response)
-
-
-
Field Detail
-
MAX_IDLE_TIMEOUT
public static final String MAX_IDLE_TIMEOUT
- See Also:
- Constant Field Values
-
WEBSOCKET_VALID
public static final String WEBSOCKET_VALID
- See Also:
- Constant Field Values
-
WEBSOCKET_USER
public static final String WEBSOCKET_USER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebsocketConfigurator
public WebsocketConfigurator(ExternalContext context)
-
-
Method Detail
-
modifyHandshake
public void modifyHandshake(jakarta.websocket.server.ServerEndpointConfig sec, jakarta.websocket.server.HandshakeRequest request, jakarta.websocket.HandshakeResponse response)
- Overrides:
modifyHandshake
in classjakarta.websocket.server.ServerEndpointConfig.Configurator
-
-