thanks @feuyeux, the solution is work for me,
ps, the code below is works in the proxy with http basic auth:
ClientConfig config = new ClientConfig();
config.connectorProvider(new ApacheConnectorProvider());
config.property(ClientProperties.PROXY_URI, proxy);
config.property(ClientProperties.PROXY_USERNAME,user);
config.property(ClientProperties.PROXY_PASSWORD,pass);
Client client = JerseyClientBuilder.newClient(config);
hope to help others
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…