Interface IJsrParamId

All Known Implementing Classes:
JsrParamIdBase, JsrParamIdBinary, JsrParamIdDecoder, JsrParamIdOnClose, JsrParamIdOnError, JsrParamIdOnMessage, JsrParamIdOnOpen, JsrParamIdPong, JsrParamIdText, JsrPathParamId

public interface IJsrParamId
JSR-356 Parameter Identification processing.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    process(Param param, JsrCallable callable)
    Process the potential parameter.
  • Method Details

    • process

      boolean process(Param param, JsrCallable callable) throws InvalidSignatureException
      Process the potential parameter.

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

      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