Class JsrParamIdBase

java.lang.Object
org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdBase
All Implemented Interfaces:
IJsrParamId
Direct Known Subclasses:
JsrParamIdOnClose, JsrParamIdOnError, JsrParamIdOnMessage, JsrParamIdOnOpen

public abstract class JsrParamIdBase extends Object implements IJsrParamId
Common base for Parameter Identification in JSR Callable methods
  • Constructor Details

    • JsrParamIdBase

      public JsrParamIdBase()
  • Method Details

    • process

      public boolean process(Param param, JsrCallable callable) throws InvalidSignatureException
      Description copied from interface: IJsrParamId
      Process the potential parameter.

      If known to be a valid parameter, bind a role to it.

      Specified by:
      process in interface IJsrParamId
      Parameters:
      param - the parameter being processed
      callable - the callable this param belongs to (used to obtain extra state about the callable that might impact decision making)
      Returns:
      true if processed, false if not processed
      Throws:
      InvalidSignatureException - if a violation of the signature rules occurred