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. | 
Optional<MethodExecutionHandle<T,?>> | 
openMethod()
Returns the method annotated with  
OnOpen. | 
BeanDefinition<T> getBeanDefinition()
T getTarget()
Optional<MethodExecutionHandle<T,?>> messageMethod()
OnMessage.Optional<MethodExecutionHandle<T,?>> closeMethod()
OnClose.Optional<MethodExecutionHandle<T,?>> openMethod()
OnOpen.Optional<MethodExecutionHandle<T,?>> errorMethod()
OnError.