Package io.micronaut.http.client
Interface RawHttpClientRegistry
- All Known Implementing Classes:
DefaultJdkHttpClientRegistry
,DefaultNettyHttpClientRegistry
public interface RawHttpClientRegistry
Interface for managing the construction and lifecycle of instances of
RawHttpClient
clients.- Since:
- 4.7.0
- Author:
- Jonas Konrad
-
Method Summary
Modifier and TypeMethodDescriptiongetRawClient
(@NonNull HttpVersionSelection httpVersion, @NonNull String clientId, @Nullable String path) Return the client for the client ID and path.
-
Method Details
-
getRawClient
@NonNull @NonNull RawHttpClient getRawClient(@NonNull @NonNull HttpVersionSelection httpVersion, @NonNull @NonNull String clientId, @Nullable @Nullable String path) Return the client for the client ID and path.- Parameters:
httpVersion
- The HTTP versionclientId
- The client IDpath
- The path (Optional)- Returns:
- The client
-