Class OnOpenCallable

java.lang.Object
org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
org.eclipse.jetty.websocket.jsr356.annotations.OnOpenCallable

public class OnOpenCallable extends JsrCallable
Callable for OnOpen annotated methods
  • Constructor Details

    • OnOpenCallable

      public OnOpenCallable(Class<?> pojo, Method method)
    • OnOpenCallable

      public OnOpenCallable(OnOpenCallable copy)
  • Method Details

    • call

      public void call(Object endpoint, javax.websocket.EndpointConfig config)
    • init

      public void init(JsrSession session)
      Overrides:
      init in class JsrCallable
    • setDecodingType

      public void setDecodingType(Class<?> decodingType)
      Description copied from class: JsrCallable
      The Type of Class a Decoder should be created to produce.
      Specified by:
      setDecodingType in class JsrCallable
      Parameters:
      decodingType - the type of class a Decoder should be created to produce