Class ReactiveWebSocketSubscriptionsHandler

java.lang.Object
graphql.kickstart.spring.webflux.ReactiveWebSocketSubscriptionsHandler
All Implemented Interfaces:
org.springframework.web.reactive.socket.WebSocketHandler

@Component public class ReactiveWebSocketSubscriptionsHandler extends Object implements org.springframework.web.reactive.socket.WebSocketHandler
  • Constructor Details

    • ReactiveWebSocketSubscriptionsHandler

      public ReactiveWebSocketSubscriptionsHandler()
  • Method Details

    • getSubProtocols

      public List<String> getSubProtocols()
      Specified by:
      getSubProtocols in interface org.springframework.web.reactive.socket.WebSocketHandler
    • handle

      public reactor.core.publisher.Mono<Void> handle(org.springframework.web.reactive.socket.WebSocketSession webSocketSession)
      Specified by:
      handle in interface org.springframework.web.reactive.socket.WebSocketHandler