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
ConstructorsConstructorDescriptionGraphQLWsServerEndpointRegistration(String path, graphql.kickstart.servlet.GraphQLWebsocketServlet servlet) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidmodifyHandshake(jakarta.websocket.server.ServerEndpointConfig sec, jakarta.websocket.server.HandshakeRequest request, jakarta.websocket.HandshakeResponse response) voidstart()voidstop()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, toStringMethods inherited from class jakarta.websocket.server.ServerEndpointConfig.Configurator
checkOrigin, getContainerDefaultConfigurator, getNegotiatedExtensions, getNegotiatedSubprotocol
-
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:
modifyHandshakein classorg.springframework.web.socket.server.standard.ServerEndpointRegistration
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-