@Internal public class NettyRxHttpClientFactory extends java.lang.Object implements RxHttpClientFactory
RxHttpClientFactory
for Netty.Constructor and Description |
---|
NettyRxHttpClientFactory() |
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. |
public RxHttpClient createClient(java.net.URL url)
RxHttpClientFactory
HttpClient
. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject
to inject a client insteadcreateClient
in interface RxHttpClientFactory
url
- The base URLpublic RxHttpClient createClient(java.net.URL url, HttpClientConfiguration configuration)
RxHttpClientFactory
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 insteadcreateClient
in interface RxHttpClientFactory
url
- The base URLconfiguration
- the client configurationpublic RxStreamingHttpClient createStreamingClient(java.net.URL url)
RxHttpClientFactory
HttpClient
. Note that this method should only be used outside of the context of an application. Within Micronaut use
Inject
to inject a client insteadcreateStreamingClient
in interface RxHttpClientFactory
url
- The base URLpublic RxStreamingHttpClient createStreamingClient(java.net.URL url, HttpClientConfiguration configuration)
RxHttpClientFactory
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 insteadcreateStreamingClient
in interface RxHttpClientFactory
url
- The base URLconfiguration
- The client configuration