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