W
- Web Socket Clientpublic interface WebSocketClientRegistry<W extends WebSocketClient>
WebSocketClient
clients.Modifier and Type | Method and Description |
---|---|
void |
disposeClient(AnnotationMetadata annotationMetadata)
Dispose of the client defined by the given metadata.
|
default W |
getDefaultWebSocketClient() |
W |
getWebSocketClient(AnnotationMetadata annotationMetadata)
Return the client for the given annotation metadata.
|
W |
resolveWebSocketClient(InjectionPoint<?> injectionPoint,
LoadBalancer loadBalancer,
HttpClientConfiguration configuration,
BeanContext beanContext)
Resolves a
WebSocketClient for the given injection point. |
@NonNull W resolveWebSocketClient(@Nullable InjectionPoint<?> injectionPoint, @Nullable LoadBalancer loadBalancer, @Nullable HttpClientConfiguration configuration, @NonNull BeanContext beanContext)
WebSocketClient
for the given injection point.injectionPoint
- The injection pointloadBalancer
- The load balancer to use (Optional)configuration
- The configuration (Optional)beanContext
- The bean context to use@NonNull W getWebSocketClient(@NonNull AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata.default W getDefaultWebSocketClient()
void disposeClient(AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata