@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 . |
RxStreamingHttpClient |
createStreamingClient(java.net.URL url)
Create a new
HttpClient . |
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 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 URL