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.HttpClientRegistry<?> mnHttpClientRegistry, @Named("blocking") @Nullable @Nullable ExecutorService ioExecutor, io.micronaut.serde.ObjectMapper jsonMapper, OciSerdeConfiguration ociSerdeConfiguration, OciSerializationConfiguration ociSerializationConfiguration)
    • ManagedNettyHttpProvider

      public ManagedNettyHttpProvider(io.micronaut.http.client.HttpClient mnHttpClient, ExecutorService ioExecutor)
  • 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