Interface GraphQLWebsocketHandler

All Known Implementing Classes:
AbstractGraphQLWebsocketHandler, GraphQLTransportWSSubprotocolHandler, GraphQLWSSubprotocolHandler

public interface GraphQLWebsocketHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    onMessage(String message)
    Called when a message arrives and needs to be handled.
    void
     
  • Method Details

    • onMessage

      void onMessage(String message)
      Called when a message arrives and needs to be handled. Implementation of this method MUST NOT block the calling thread!
    • onThrowable

      void onThrowable(Throwable t)
    • onClose

      void onClose()
    • onEnd

      void onEnd()