我正在以Java编程方式创建HTTPConduit,我想将管道名称更改为 *。http_conduit
我该如何设置?
源代码:
Client client = ClientProxy.getClient(port);
HTTPConduit http = (HTTPConduit) client.getConduit();
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setConnectionTimeout(600000);
httpClientPolicy.setAllowChunking(false);
http.setClient(httpClientPolicy);