public class UndertowRequestUpgradeStrategy extends ObjectSE implements RequestUpgradeStrategy
RequestUpgradeStrategy
。コンストラクターと説明 |
---|
UndertowRequestUpgradeStrategy() |
修飾子と型 | メソッドと説明 |
---|---|
reactor.core.publisher.Mono<VoidSE> | upgrade(ServerWebExchange exchange, WebSocketHandler handler, StringSE subProtocol, SupplierSE<HandshakeInfo> handshakeInfoFactory) WebSocket セッションにアップグレードし、指定されたハンドラーで処理します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
upgrade
public reactor.core.publisher.Mono<VoidSE> upgrade(ServerWebExchange exchange, WebSocketHandler handler, @Nullable StringSE subProtocol, SupplierSE<HandshakeInfo> handshakeInfoFactory)
RequestUpgradeStrategy
RequestUpgradeStrategy
の upgrade
exchange
- 現在の交換 handler
- WebSocket セッションのハンドラー subProtocol
- 選択したサブプロトコルがハンドラーを取得しました handshakeInfoFactory
- WebSocket セッションの HandshakeInfo を作成するファクトリ Mono<Void>
の補完。