RequestUpgradeStrategy for Jetty 11.
| Modifier and Type | Field and Description |
|---|---|
| private JettyWebSocketServerContainer | |
| private Consumer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addWebSocketConfigurer(Consumer<Configurable> webSocketConfigurer)
Add a callback to configure WebSocket server parameters on
|
| private JettyWebSocketServerContainer | |
| public Mono | upgrade(ServerWebExchange
the current exchange exchange, WebSocketHandler handler for the WebSocket session handler, String the selected sub-protocol got the handler subProtocol, Supplier<HandshakeInfo> factory to create HandshakeInfo for the WebSocket session handshakeInfoFactory)Implements org. Upgrade to a WebSocket session and handle it with the given handler. |
| serverContainer | back to summary |
|---|---|
| private JettyWebSocketServerContainer serverContainer
| |
| webSocketConfigurer | back to summary |
|---|---|
| private Consumer<Configurable> webSocketConfigurer
| |
| JettyRequestUpgradeStrategy | back to summary |
|---|---|
| public JettyRequestUpgradeStrategy() | |
| addWebSocketConfigurer | back to summary |
|---|---|
| public void addWebSocketConfigurer(Consumer<Configurable> webSocketConfigurer) Add a callback to configure WebSocket server parameters on
| |
| getWebSocketServerContainer | back to summary |
|---|---|
| private JettyWebSocketServerContainer getWebSocketServerContainer(ServletContext servletContext) | |
| upgrade | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Upgrade to a WebSocket session and handle it with the given handler.
| |