Class NettyHttpProvider

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

public final class NettyHttpProvider extends Object implements com.oracle.bmc.http.client.HttpProvider
Netty-based implementation of HttpProvider. This is only used for SPI (HttpProvider.getDefault()), there is also ManagedNettyHttpProvider.
  • Field Summary

    Fields inherited from interface com.oracle.bmc.http.client.HttpProvider

    ADD_DEPENDENCY_SUGGESTION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a netty-based HttpProvider.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.oracle.bmc.http.client.Serializer
     
    com.oracle.bmc.http.client.HttpClientBuilder
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.oracle.bmc.http.client.HttpProvider

    hasCapability
  • Constructor Details

    • NettyHttpProvider

      public NettyHttpProvider()
      Construct a netty-based HttpProvider.
  • 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