T - The target typepublic interface WebSocketBean<T>
| Modifier and Type | Method and Description |
|---|---|
Optional<MethodExecutionHandle<T,?>> |
closeMethod()
Returns the method annotated with
OnClose. |
Optional<MethodExecutionHandle<T,?>> |
errorMethod()
Returns the method annotated with
OnError. |
BeanDefinition<T> |
getBeanDefinition()
The bean definition.
|
T |
getTarget() |
Optional<MethodExecutionHandle<T,?>> |
messageMethod()
Returns the method annotated with
OnMessage responsible for regular
messages. |
Optional<MethodExecutionHandle<T,?>> |
openMethod()
Returns the method annotated with
OnOpen. |
default Optional<MethodExecutionHandle<T,?>> |
pongMethod()
Returns the method annotated with
OnMessage responsible for pong
messages. |
BeanDefinition<T> getBeanDefinition()
T getTarget()
Optional<MethodExecutionHandle<T,?>> messageMethod()
OnMessage responsible for regular
messages.default Optional<MethodExecutionHandle<T,?>> pongMethod()
OnMessage responsible for pong
messages.Optional<MethodExecutionHandle<T,?>> closeMethod()
OnClose.Optional<MethodExecutionHandle<T,?>> openMethod()
OnOpen.Optional<MethodExecutionHandle<T,?>> errorMethod()
OnError.