Class GraphQLWsServerEndpointRegistration

java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
org.springframework.web.socket.server.standard.ServerEndpointRegistration
graphql.kickstart.autoconfigure.web.servlet.GraphQLWsServerEndpointRegistration
All Implemented Interfaces:
jakarta.websocket.EndpointConfig, jakarta.websocket.server.ServerEndpointConfig, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.Lifecycle

public class GraphQLWsServerEndpointRegistration extends org.springframework.web.socket.server.standard.ServerEndpointRegistration implements org.springframework.context.Lifecycle
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jakarta.websocket.server.ServerEndpointConfig

    jakarta.websocket.server.ServerEndpointConfig.Builder, jakarta.websocket.server.ServerEndpointConfig.Configurator
  • Constructor Summary

    Constructors
    Constructor
    Description
    GraphQLWsServerEndpointRegistration(String path, graphql.kickstart.servlet.GraphQLWebsocketServlet servlet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    modifyHandshake(jakarta.websocket.server.ServerEndpointConfig sec, jakarta.websocket.server.HandshakeRequest request, jakarta.websocket.HandshakeResponse response)
     
    void
     
    void
     

    Methods inherited from class org.springframework.web.socket.server.standard.ServerEndpointRegistration

    getConfigurator, getDecoders, getEncoders, getEndpoint, getEndpointClass, getEndpointInstance, getExtensions, getPath, getSubprotocols, getUserProperties, setBeanFactory, setDecoders, setEncoders, setExtensions, setSubprotocols, setUserProperties, toString

    Methods inherited from class jakarta.websocket.server.ServerEndpointConfig.Configurator

    checkOrigin, getContainerDefaultConfigurator, getNegotiatedExtensions, getNegotiatedSubprotocol

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • GraphQLWsServerEndpointRegistration

      public GraphQLWsServerEndpointRegistration(String path, graphql.kickstart.servlet.GraphQLWebsocketServlet servlet)
  • Method Details

    • modifyHandshake

      public void modifyHandshake(jakarta.websocket.server.ServerEndpointConfig sec, jakarta.websocket.server.HandshakeRequest request, jakarta.websocket.HandshakeResponse response)
      Overrides:
      modifyHandshake in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle