Class ManagedNettyHttpProvider

java.lang.Object
io.micronaut.oraclecloud.httpclient.netty.ManagedNettyHttpProvider
All Implemented Interfaces:
com.oracle.bmc.http.client.HttpProvider

@Singleton @Internal public class ManagedNettyHttpProvider extends Object implements com.oracle.bmc.http.client.HttpProvider
HttpProvider implementation similar to NettyHttpProvider, but managed by an ApplicationContext.
Since:
3.0.0
Author:
Jonas Konrad
  • Constructor Details

    • ManagedNettyHttpProvider

      @Inject public ManagedNettyHttpProvider(io.micronaut.http.client.RawHttpClientRegistry mnHttpClientRegistry, @Named("blocking") @Nullable @Nullable ExecutorService ioExecutor, io.micronaut.serde.ObjectMapper jsonMapper, OciSerdeConfiguration ociSerdeConfiguration, OciSerializationConfiguration ociSerializationConfiguration, @Nullable @Nullable List<OciNettyClientFilter<?>> nettyClientFilters, @Nullable @Nullable io.micronaut.oraclecloud.httpclient.netty.OciNettyConfiguration configuration)
    • ManagedNettyHttpProvider

      public ManagedNettyHttpProvider(io.micronaut.http.client.HttpClient mnHttpClient, ExecutorService ioExecutor, @Nullable @Nullable List<OciNettyClientFilter<?>> nettyClientFilters)
  • Method Details

    • newBuilder

      public com.oracle.bmc.http.client.HttpClientBuilder newBuilder()
      Specified by:
      newBuilder in interface com.oracle.bmc.http.client.HttpProvider
    • getSerializer

      public com.oracle.bmc.http.client.Serializer getSerializer()
      Specified by:
      getSerializer in interface com.oracle.bmc.http.client.HttpProvider