expResult.setFollowRedirect(true);
return expResult;
}
private ResponseBean getDefaultResponseBean(){
ResponseBean expResult = new ResponseBean();
expResult.setStatusLine("HTTP/1.1 200 OK");
expResult.setStatusCode(200);
expResult.addHeader("Content-Type", "text/plain; charset=utf-8");
expResult.addHeader("Transfer-Encoding", "chunked");
expResult.addHeader("Server", "Jetty(6.1.25)");
expResult.setResponseBody(Util.base64decodeByteArray("KipSRVNUQ2xpZW50IFRyYWNlU2VydmxldCoqCgoqTWV0aG9kKgoJR0VUCgoqUGF0aCBJbmZvKgoJLwoKKkhlYWRlcnMqCglIb3N0OiBsb2NhbGhvc3Q6MTAxMDEKCUNvbm5lY3Rpb246IEtlZXAtQWxpdmUKCVVzZXItQWdlbnQ6IEFwYWNoZS1IdHRwQ2xpZW50LzQuMi4xIChqYXZhIDEuNSkKCipRdWVyeSBTdHJpbmcqCgludWxsCgoqUGFyYW1ldGVycyoKCipCb2R5IChGaXJzdCAxMDAgY2hhcmFjdGVycyBvbmx5KSoKCQoK"));
return expResult;
}