public final class LoopBackConnectorProvider extends Object implements ConnectorProvider
connector provider used for testing/benchmarking
purposes. The provided connector is LoopBackConnector returns a response that
contains the same data (headers, entity) as the processed request.| Constructor and Description |
|---|
LoopBackConnectorProvider() |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Configuration |
getClientConfig()
Get a client configuration specific to the connector.
|
Connector |
getConnector(javax.ws.rs.client.Client client,
javax.ws.rs.core.Configuration config) |
public Connector getConnector(javax.ws.rs.client.Client client, javax.ws.rs.core.Configuration config)
getConnector in interface ConnectorProviderpublic static javax.ws.rs.core.Configuration getClientConfig()
Copyright © 2007-2016, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.