}
public static IHttpClientConfigurer getHttpClientConfigurer(IHttpRequestEngine.EngineConfigType type) {
switch(type) {
case CONFIG_SCANNER:
return new ScannerHttpClientConfigurer();
case CONFIG_PROXY:
return new ProxyHttpClientConfigurer();
}
throw new IllegalStateException();
}