Class OnOpenCallable


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

      • OnOpenCallable

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

      • call

        public void call​(java.lang.Object endpoint,
                         javax.websocket.EndpointConfig config)
      • 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
        Parameters:
        decodingType - the type of class a Decoder should be created to produce