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
-
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.bmc.http.client.Serializer
com.oracle.bmc.http.client.HttpClientBuilder
-
Constructor Details
-
NettyHttpProvider
public NettyHttpProvider()Construct a netty-basedHttpProvider
.
-
-
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
-