final WebClient webClient = new WebClient();
final HtmlPage page = webClient.getPage(webPageURL);
final String pageAsXml = page.asXml();
final String pageAsText = page.asText();
List <NameValuePair> response = page.getWebResponse().getResponseHeaders();
for (NameValuePair header : response) {
log.info(header.toString() + " = " + header.getValue());
网页返回多个标题。但是日志只显示第一个标题。我如何获得其余的标题?我正在寻找的标题是内容类型:application/javascript;charset=ISO-8859-1
该网页是内部网页。