@Beta public class NettyConnectorProvider extends Object implements ConnectorProvider
The following connector configuration properties are supported:
If a response entity is obtained that is an instance of
Closeable then the instance MUST
be closed after processing the entity to release connection-based resources.
|Constructor and Description
|Modifier and Type
|Method and Description
public Connector getConnector(Client client, Configuration runtimeConfig)
and Jersey client runtime
Note that the supplied runtime configuration can be different from the client instance
configuration as a single client can be used to serve multiple differently configured runtimes.
SSL context or
are shared, other configuration properties may change in each runtime.
Based on the supplied client and runtime configuration data, it is up to each connector provider implementation to decide whether a new dedicated connector instance is required or if the existing, previously create connector instance can be reused.
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.