E
- Reactive Server Sent Events HTTP Clientpublic interface SseClientRegistry<E extends SseClient>
Modifier and Type | Method and Description |
---|---|
void |
disposeClient(AnnotationMetadata annotationMetadata)
Dispose of the client defined by the given metadata.
|
default E |
getDefaultSseClient() |
E |
getSseClient(AnnotationMetadata annotationMetadata)
Return the client for the given annotation metadata.
|
E |
resolveSseClient(InjectionPoint<?> injectionPoint,
LoadBalancer loadBalancer,
HttpClientConfiguration configuration,
BeanContext beanContext)
Resolves a
SseClient for the given injection point. |
@NonNull E resolveSseClient(@Nullable InjectionPoint<?> injectionPoint, @Nullable LoadBalancer loadBalancer, @Nullable HttpClientConfiguration configuration, @NonNull BeanContext beanContext)
SseClient
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 E getSseClient(@NonNull AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata.void disposeClient(AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadatadefault E getDefaultSseClient()