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
- Since:
- 3.0.0
- Author:
- Jonas Konrad
-
Field Summary
Fields inherited from interface com.oracle.bmc.http.client.HttpProvider
ADD_DEPENDENCY_SUGGESTION
-
Constructor Summary
ConstructorDescriptionManagedNettyHttpProvider
(io.micronaut.http.client.HttpClient mnHttpClient, ExecutorService ioExecutor) ManagedNettyHttpProvider
(io.micronaut.http.client.HttpClient mnHttpClient, ExecutorService ioExecutor, io.micronaut.serde.ObjectMapper jsonMapper, OciSerdeConfiguration ociSerdeConfiguration, OciSerializationConfiguration ociSerializationConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.bmc.http.client.Serializer
com.oracle.bmc.http.client.HttpClientBuilder
-
Constructor Details
-
ManagedNettyHttpProvider
@Inject public ManagedNettyHttpProvider(@Client(id="oci") io.micronaut.http.client.HttpClient mnHttpClient, @Named("blocking") 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 interfacecom.oracle.bmc.http.client.HttpProvider
-
getSerializer
public com.oracle.bmc.http.client.Serializer getSerializer()- Specified by:
getSerializer
in interfacecom.oracle.bmc.http.client.HttpProvider
-