Class VertxRequestUpgradeStrategy

  • All Implemented Interfaces:
    org.springframework.web.reactive.socket.server.RequestUpgradeStrategy

    public class VertxRequestUpgradeStrategy
    extends Object
    implements org.springframework.web.reactive.socket.server.RequestUpgradeStrategy
    • Constructor Detail

      • VertxRequestUpgradeStrategy

        public VertxRequestUpgradeStrategy​(int maxWebSocketFrameSize,
                                           int maxWebSocketMessageSize)
    • Method Detail

      • upgrade

        public reactor.core.publisher.Mono<Void> upgrade​(org.springframework.web.server.ServerWebExchange exchange,
                                                         org.springframework.web.reactive.socket.WebSocketHandler handler,
                                                         @Nullable
                                                         String subProtocol,
                                                         Supplier<org.springframework.web.reactive.socket.HandshakeInfo> handshakeInfoFactory)
        Specified by:
        upgrade in interface org.springframework.web.reactive.socket.server.RequestUpgradeStrategy