throw new HttpResponseIndicatesErrorException(String.format("Login response indicates error! Status line: %s", responseStatusLine.toString()));
}
this.writeHtmlToFile(Util.filePathCombine("log", "LoginPageResponse.html"), this.getResponseAllHeadersAndContentAsString(response));
request.releaseConnection();
logger.info("Login successful.");
}
private void sendCheckinRequest(String checkinUrl) throws URISyntaxException, ClientProtocolException, IOException, HttpResponseIndicatesErrorException
{