Package io.micronaut.http.client.jdk
Class HttpRequestFactory
java.lang.Object
io.micronaut.http.client.jdk.HttpRequestFactory
Utility class to create
HttpRequest.Builder
from a Micronaut HTTP Request.- Since:
- 4.0.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionstatic <I> HttpRequest.Builder
builder
(@NonNull URI uri, HttpRequest<I> request, @NonNull HttpClientConfiguration configuration, Argument<?> bodyType, MediaTypeCodecRegistry mediaTypeCodecRegistry)
-
Method Details
-
builder
@NonNull public static <I> HttpRequest.Builder builder(@NonNull @NonNull URI uri, HttpRequest<I> request, @NonNull @NonNull HttpClientConfiguration configuration, Argument<?> bodyType, MediaTypeCodecRegistry mediaTypeCodecRegistry)
-