httpclient重定向Cookie设置

xiaoxiao2026-10-04  14

HttpClient client = new HttpClient();GetMethod methodget = new GetMethod("xxxxx");methodget.setFollowRedirects(true);methodget.getParams().setParameter(HttpMethodParams.SINGLE_COOKIE_HEADER, true);client.executeMethod(methodget);
转载请注明原文地址: https://www.6miu.com/read-5053566.html

最新回复(0)