Class JsrParamIdDecoder
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdBase
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdOnMessage
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdDecoder
-
- All Implemented Interfaces:
IJsrParamId
public class JsrParamIdDecoder extends JsrParamIdOnMessage implements IJsrParamId
Param handling for Text or Binary @OnMessage
parameters declared asDecoder
s
-
-
Constructor Summary
Constructors Constructor Description JsrParamIdDecoder(DecoderMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(Param param, JsrCallable callable)
Process the potential parameter.-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrParamIdOnMessage
assertPartialMessageSupportDisabled
-
-
-
-
Constructor Detail
-
JsrParamIdDecoder
public JsrParamIdDecoder(DecoderMetadata metadata)
-
-
Method Detail
-
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 interfaceIJsrParamId
- Overrides:
process
in 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
-
-