List of usage examples for io.netty.handler.proxy HttpProxyHandler HttpProxyHandler
public HttpProxyHandler(SocketAddress proxyAddress, String username, String password, HttpHeaders headers, boolean ignoreDefaultPortsInConnectHostHeader)
From source file:io.gatling.http.client.proxy.HttpProxyServer.java
License:Apache License
@Override public ProxyHandler newHandler() { return realm != null ? new HttpProxyHandler(securedAddress, realm.getUsername(), realm.getPassword(), EmptyHttpHeaders.INSTANCE, true) : new HttpProxyHandler(securedAddress, EmptyHttpHeaders.INSTANCE, true); }