public final class TunnelRequest extends Object
public TunnelRequest(String host, int port, String userAgent, String proxyAuthorization)
host
- the origin server's hostname. Not null.port
- the origin server's port, like 80 or 443.userAgent
- the client's user-agent. Not null.proxyAuthorization
- proxy authorization, or null if the proxy is
used without an authorization header.Copyright © 2013. All Rights Reserved.