Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.qiniu.android.http;

http 代理
 
 public class Proxy {
 
     public final String hostAddress;
     public final int port;
    public final String user;
    public final String password;

    

Parameters:
hostAddress 服务器域名或IP,比如proxy.com, 192.168.1.1
port 端口
user 用户名,无则填null
password 用户密码,无则填null
    public Proxy(String hostAddressint portString userString password) {
        this. = hostAddress;
        this. = port;
        this. = user;
        this. = password;
    }
New to GrepCode? Check out our FAQ X