Class OnCloseCallable

    • Constructor Detail

      • OnCloseCallable

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

      • call

        public void call​(Object endpoint,
                         org.eclipse.jetty.websocket.common.CloseInfo close)
      • call

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