public interface StreamingHttpClientFactory
Modifier and Type | Method and Description |
---|---|
StreamingHttpClient |
createStreamingClient(URL url)
Create a new
StreamingHttpClient . |
StreamingHttpClient |
createStreamingClient(URL url,
HttpClientConfiguration configuration)
Create a new
StreamingHttpClient with the specified configuration. |
@NonNull StreamingHttpClient createStreamingClient(@Nullable URL url)
StreamingHttpClient
. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject
to inject a client insteadurl
- The base URL@NonNull StreamingHttpClient createStreamingClient(@Nullable URL url, @NonNull HttpClientConfiguration configuration)
StreamingHttpClient
with the specified configuration. Note that this method should only be used
outside of the context of an application. Within Micronaut use Inject
to inject a client insteadurl
- The base URLconfiguration
- The client configuration