- All Known Implementing Classes:
Note that unlike most of the other
Jersey SPI extension contracts,
ConnectorProvider is not a typical runtime extension and as such cannot be registered
using a configuration
register(...) method. Instead, it must be registered using via
JerseyClientBuilder using it's
- Marek Potociar
getConnectorGet a Jersey client connector instance for a given
clientinstance 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. While the
hostname verifierare 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.
client- Jersey client instance.
runtimeConfig- Jersey client runtime configuration.
Connectorinstance to be used by the client.