Class JsrParamIdOnClose
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdBase
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdOnClose
-
- All Implemented Interfaces:
IJsrParamId
public class JsrParamIdOnClose extends JsrParamIdBase implements IJsrParamId
Param handling for @OnCloseparameters.
-
-
Field Summary
Fields Modifier and Type Field Description static IJsrParamIdINSTANCE
-
Constructor Summary
Constructors Constructor Description JsrParamIdOnClose()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocess(Param param, JsrCallable callable)Process the potential parameter.
-
-
-
Field Detail
-
INSTANCE
public static final IJsrParamId INSTANCE
-
-
Method Detail
-
process
public boolean process(Param param, JsrCallable callable) throws InvalidSignatureException
Description copied from interface:IJsrParamIdProcess the potential parameter.If known to be a valid parameter, bind a role to it.
- Specified by:
processin interfaceIJsrParamId- Overrides:
processin classJsrParamIdBase- 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
-
-