Class ApacheCoreHttpProvider

java.lang.Object
io.micronaut.oraclecloud.httpclient.apache.core.ApacheCoreHttpProvider
All Implemented Interfaces:
com.oracle.bmc.http.client.HttpProvider

@Internal @Singleton public final class ApacheCoreHttpProvider extends Object implements com.oracle.bmc.http.client.HttpProvider
OCI java SDK HTTP provider based on Apache HTTP components core, sending all requests to a local unix domain socket. The serialization backend is either jackson or micronaut-serialization, depending on what is on the classpath.
Author:
Jonas Konrad
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.oracle.bmc.http.client.ClientProperty<Path>
     

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

    ADD_DEPENDENCY_SUGGESTION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.oraclecloud.httpclient.apache.core.ApacheCoreSerializer
     
    com.oracle.bmc.http.client.HttpClientBuilder
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SOCKET_PATH

      public static final com.oracle.bmc.http.client.ClientProperty<Path> SOCKET_PATH
  • Constructor Details

    • ApacheCoreHttpProvider

      public ApacheCoreHttpProvider()
  • Method Details

    • newBuilder

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

      public io.micronaut.oraclecloud.httpclient.apache.core.ApacheCoreSerializer getSerializer()
      Specified by:
      getSerializer in interface com.oracle.bmc.http.client.HttpProvider