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 inherited from interface com.oracle.bmc.http.client.HttpProvider
ADD_DEPENDENCY_SUGGESTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.oraclecloud.httpclient.apache.core.ApacheCoreSerializer
com.oracle.bmc.http.client.HttpClientBuilder
-
Field Details
-
SOCKET_PATH
-
-
Constructor Details
-
ApacheCoreHttpProvider
public ApacheCoreHttpProvider()
-
-
Method Details
-
newBuilder
public com.oracle.bmc.http.client.HttpClientBuilder newBuilder()- Specified by:
newBuilder
in interfacecom.oracle.bmc.http.client.HttpProvider
-
getSerializer
public io.micronaut.oraclecloud.httpclient.apache.core.ApacheCoreSerializer getSerializer()- Specified by:
getSerializer
in interfacecom.oracle.bmc.http.client.HttpProvider
-