Remove double interceptor setup
This commit is contained in:
parent
41e1b4d45c
commit
d83cf30a9e
|
@ -66,14 +66,6 @@ public abstract class BaseRequestGeneratingCommand extends BaseCommand {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected IGenericClient newClient(CommandLine theCommandLine) throws ParseException {
|
|
||||||
IGenericClient client = super.newClient(theCommandLine);
|
|
||||||
registerHeaderPassthrough(theCommandLine, client);
|
|
||||||
return client;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected IGenericClient newClientWithBaseUrl(CommandLine theCommandLine, String theBaseUrl,
|
protected IGenericClient newClientWithBaseUrl(CommandLine theCommandLine, String theBaseUrl,
|
||||||
String theBasicAuthOptionName, String theBearerTokenOptionName) throws ParseException {
|
String theBasicAuthOptionName, String theBearerTokenOptionName) throws ParseException {
|
||||||
|
|
Loading…
Reference in New Issue