Interface WebSocketBean<T>
- Type Parameters:
T- The target type
public interface WebSocketBean<T>
Wrapper around a WebSocket instance that enables the retrieval of the appropriate methods.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the method annotated withOnClose.Returns the method annotated withOnError.io.micronaut.inject.BeanDefinition<T> The bean definition.Returns the method annotated withOnMessageresponsible for regular messages.Returns the method annotated withOnOpen.Returns the method annotated withOnMessageresponsible for pong messages.