Class OnCloseCallable


public class OnCloseCallable extends JsrCallable
Callable for OnClose annotated methods
  • Field Details

    • idxCloseReason

      private int idxCloseReason
  • Constructor Details

    • OnCloseCallable

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

      public OnCloseCallable(OnCloseCallable copy)
  • Method Details

    • call

      public void call(Object endpoint, CloseInfo close)
    • call

      public void call(Object endpoint, javax.websocket.CloseReason closeReason)
    • call

      public void call(Object endpoint, int statusCode, String reason)
    • 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