Class JsrParamIdBase
java.lang.Object
org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdBase
- All Implemented Interfaces:
IJsrParamId
- Direct Known Subclasses:
JsrParamIdOnClose, JsrParamIdOnError, JsrParamIdOnMessage, JsrParamIdOnOpen
Common base for Parameter Identification in JSR Callable methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Param param, JsrCallable callable) Process the potential parameter.
-
Constructor Details
-
JsrParamIdBase
public JsrParamIdBase()
-
-
Method Details
-
process
Description copied from interface:IJsrParamIdProcess the potential parameter.If known to be a valid parameter, bind a role to it.
- Specified by:
processin interfaceIJsrParamId- Parameters:
param- the parameter being processedcallable- 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
-