S
- Reactive Streaming HTTP Clientpublic interface StreamingHttpClientRegistry<S extends StreamingHttpClient>
StreamingHttpClient
clients.Modifier and Type | Method and Description |
---|---|
void |
disposeClient(AnnotationMetadata annotationMetadata)
Dispose of the client defined by the given metadata.
|
default S |
getDefaultStreamingHttpClient() |
S |
getStreamingHttpClient(AnnotationMetadata annotationMetadata)
Return the client for the given annotation metadata.
|
S |
resolveStreamingHttpClient(InjectionPoint<?> injectionPoint,
LoadBalancer loadBalancer,
HttpClientConfiguration configuration,
BeanContext beanContext)
Resolves a
StreamingHttpClient for the given injection point. |
@NonNull S resolveStreamingHttpClient(@Nullable InjectionPoint<?> injectionPoint, @Nullable LoadBalancer loadBalancer, @Nullable HttpClientConfiguration configuration, @NonNull BeanContext beanContext)
StreamingHttpClient
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 S getStreamingHttpClient(@NonNull AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata.default S getDefaultStreamingHttpClient()
void disposeClient(AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata