P
- Proxy HTTP Clientpublic interface ProxyHttpClientRegistry<P extends ProxyHttpClient>
ProxyHttpClient
clients.Modifier and Type | Method and Description |
---|---|
void |
disposeClient(AnnotationMetadata annotationMetadata)
Dispose of the client defined by the given metadata.
|
default P |
getDefaultProxyHttpClient() |
P |
getProxyHttpClient(AnnotationMetadata annotationMetadata)
Return the client for the given annotation metadata.
|
P |
resolveProxyHttpClient(InjectionPoint<?> injectionPoint,
LoadBalancer loadBalancer,
HttpClientConfiguration configuration,
BeanContext beanContext)
Resolves a
ProxyHttpClient for the given injection point. |
@NonNull P resolveProxyHttpClient(@Nullable InjectionPoint<?> injectionPoint, @Nullable LoadBalancer loadBalancer, @Nullable HttpClientConfiguration configuration, @NonNull BeanContext beanContext)
ProxyHttpClient
for the given injection point.injectionPoint
- The injection pointloadBalancer
- The load balancer to use (Optional)configuration
- The configuration (Optional)beanContext
- The bean context to usevoid disposeClient(AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata@NonNull P getProxyHttpClient(@NonNull AnnotationMetadata annotationMetadata)
annotationMetadata
- The annotation metadata.default P getDefaultProxyHttpClient()