public interface IJsrMethod
Modifier and Type | Method and Description |
---|---|
void |
enablePartialMessageSupport()
Indicate that partial message support is desired
|
java.lang.String |
getFullyQualifiedMethodName()
Get the fully qualifed method name {classname}.{methodname}({params}) suitable for using in error messages.
|
java.lang.Class<? extends javax.websocket.Decoder> |
getMessageDecoder()
Get the Decoder to use for message decoding
|
MessageType |
getMessageType()
The type of message this method can handle
|
java.lang.reflect.Method |
getMethod()
The reflected method
|
boolean |
isPartialMessageSupportEnabled()
Indicator that partial message support is enabled
|
void |
setMessageDecoder(java.lang.Class<? extends javax.websocket.Decoder> decoderClass)
The message decoder class to use.
|
void |
setMessageType(MessageType type)
The type of message this method can handle
|
void enablePartialMessageSupport()
java.lang.String getFullyQualifiedMethodName()
java.lang.Class<? extends javax.websocket.Decoder> getMessageDecoder()
MessageType getMessageType()
OnMessage
annotated, null if unknown/unspecifiedjava.lang.reflect.Method getMethod()
boolean isPartialMessageSupportEnabled()
void setMessageDecoder(java.lang.Class<? extends javax.websocket.Decoder> decoderClass)
decoderClass
- the Decoder
implementation to usevoid setMessageType(MessageType type)
type
- the type of messageCopyright © 1995–2023 Webtide. All rights reserved.