public interface RxHttpClientFactory
Modifier and Type | Method and Description |
---|---|
RxHttpClient |
createClient(java.net.URL url)
Create a new
HttpClient . |
RxHttpClient |
createClient(java.net.URL url,
HttpClientConfiguration configuration)
Create a new
HttpClient with the specified configuration. |
RxStreamingHttpClient |
createStreamingClient(java.net.URL url)
Create a new
HttpClient . |
RxStreamingHttpClient |
createStreamingClient(java.net.URL url,
HttpClientConfiguration configuration)
Create a new
HttpClient with the specified configuration. |
RxHttpClient createClient(@Nullable java.net.URL url)
HttpClient
. 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 URLRxHttpClient createClient(@Nullable java.net.URL url, HttpClientConfiguration configuration)
HttpClient
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 configurationRxStreamingHttpClient createStreamingClient(@Nullable java.net.URL url)
HttpClient
. 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 URLRxStreamingHttpClient createStreamingClient(@Nullable java.net.URL url, HttpClientConfiguration configuration)
HttpClient
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