@Internal public class NettyRxHttpClientFactory extends Object implements RxHttpClientFactory
RxHttpClientFactory
for Netty.Constructor and Description |
---|
NettyRxHttpClientFactory() |
Modifier and Type | Method and Description |
---|---|
RxHttpClient |
createClient(URL url)
Create a new
HttpClient . |
RxStreamingHttpClient |
createStreamingClient(URL url)
Create a new
HttpClient . |
public RxHttpClient createClient(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(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