public class ProxyHost extends HttpHost
public ProxyHost(ProxyHost httpproxy)
httpproxy - the HTTP host to copy details frompublic ProxyHost(String hostname, int port)
hostname - the hostname (IP or DNS name). Can be null.port - the port. Value -1 can be used to set default protocol portpublic ProxyHost(String hostname)
hostname - the hostname (IP or DNS name). Can be null.public Object clone()
clone 在类中 HttpHostObject.clone()Copyright © 2017. All rights reserved.