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, @Nullable Argument<?> bodyType, @Nullable MediaTypeCodecRegistry mediaTypeCodecRegistry, @NonNull MessageBodyHandlerRegistry messageBodyHandlerRegistry)
-
Method Details
-
builder
@NonNull public static <I> HttpRequest.Builder builder(@NonNull @NonNull URI uri, HttpRequest<I> request, @NonNull @NonNull HttpClientConfiguration configuration, @Nullable @Nullable Argument<?> bodyType, @Nullable @Nullable MediaTypeCodecRegistry mediaTypeCodecRegistry, @NonNull @NonNull MessageBodyHandlerRegistry messageBodyHandlerRegistry)
-