Class OnCloseCallable

  • public class OnCloseCallable
    extends JsrCallable
    Callable for OnClose annotated methods
    • Constructor Detail

      • OnCloseCallable

        public OnCloseCallable​(java.lang.Class<?> pojo,
                               java.lang.reflect.Method method)
    • Method Detail

      • call

        public void call​(java.lang.Object endpoint,
                         CloseInfo close)
      • call

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

        public void call​(java.lang.Object endpoint,
                         int statusCode,
                         java.lang.String reason)
      • setDecodingType

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