Interface Rx3ProxyHttpClient

All Superinterfaces:
io.micronaut.http.client.ProxyHttpClient

public interface Rx3ProxyHttpClient extends io.micronaut.http.client.ProxyHttpClient
Extended version of ProxyHttpClient for RxJava 3.
Since:
2.1.0
Author:
James Kleeh
  • Method Summary

    Modifier and Type
    Method
    Description
    create(@Nullable URL url)
    Create a new Rx3ProxyHttpClient.
    create(@Nullable URL url, @NonNull io.micronaut.http.client.HttpClientConfiguration configuration)
    Create a new ProxyHttpClient with the specified configuration.
    io.reactivex.rxjava3.core.Flowable<io.micronaut.http.MutableHttpResponse<?>>
    proxy(@NonNull io.micronaut.http.HttpRequest<?> request)
     

    Methods inherited from interface io.micronaut.http.client.ProxyHttpClient

    proxy
  • Method Details

    • proxy

      io.reactivex.rxjava3.core.Flowable<io.micronaut.http.MutableHttpResponse<?>> proxy(@NonNull @NonNull io.micronaut.http.HttpRequest<?> request)
      Specified by:
      proxy in interface io.micronaut.http.client.ProxyHttpClient
    • create

      static Rx3ProxyHttpClient create(@Nullable @Nullable URL url)
      Create a new Rx3ProxyHttpClient. Note that this method should only be used outside of the context of a Micronaut application. The returned Rx3ProxyHttpClient is not subject to dependency injection. The creator is responsible for closing the client to avoid leaking connections. Within a Micronaut application use Inject to inject a client instead.
      Parameters:
      url - The base URL
      Returns:
      The client
      Since:
      2.1.0
    • create

      static Rx3ProxyHttpClient create(@Nullable @Nullable URL url, @NonNull @NonNull io.micronaut.http.client.HttpClientConfiguration configuration)
      Create a new ProxyHttpClient 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 instead
      Parameters:
      url - The base URL
      configuration - the client configuration
      Returns:
      The client
      Since:
      2.1.0