Class AbstractJsrEventDriver

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.websocket.common.events.AbstractEventDriver
org.eclipse.jetty.websocket.jsr356.endpoints.AbstractJsrEventDriver
All Implemented Interfaces:
org.eclipse.jetty.util.component.LifeCycle, IncomingFrames, EventDriver
Direct Known Subclasses:
JsrAnnotatedEventDriver, JsrEndpointEventDriver

public abstract class AbstractJsrEventDriver extends AbstractEventDriver
  • Field Details

    • metadata

      protected final EndpointMetadata metadata
    • config

      protected final javax.websocket.EndpointConfig config
    • jsrsession

      protected JsrSession jsrsession
    • hasCloseBeenCalled

      private boolean hasCloseBeenCalled
  • Constructor Details

  • Method Details

    • getConfig

      public javax.websocket.EndpointConfig getConfig()
    • getJsrSession

      public javax.websocket.Session getJsrSession()
    • getMetadata

      public EndpointMetadata getMetadata()
    • init

      public abstract void init(JsrSession jsrsession)
    • onClose

      public final void onClose(CloseInfo close)
    • onClose

      protected abstract void onClose(javax.websocket.CloseReason closereason)
    • onFrame

      public void onFrame(Frame frame)
    • openSession

      public final void openSession(WebSocketSession session)
      Specified by:
      openSession in interface EventDriver
      Overrides:
      openSession in class AbstractEventDriver
    • setEndpointconfig

      public void setEndpointconfig(javax.websocket.EndpointConfig endpointconfig)
    • setPathParameters

      public abstract void setPathParameters(Map<String,String> pathParameters)