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 Configuration |
getClientConfig()
Get a client configuration specific to the connector.
|
Connector |
getConnector(Client client,
Configuration config) |
public Connector getConnector(Client client, Configuration config)
getConnector in interface ConnectorProviderpublic static Configuration getClientConfig()
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.