*/
public void postInvoke(Request request, Response response)
throws IOException, ServletException {
HttpRequest hrequest = (HttpRequest) request;
HttpResponse hresponse = (HttpResponse) response;
HttpServletRequest hreq =
(HttpServletRequest) hrequest.getRequest();
HttpServletResponse hres =
(HttpServletResponse) hresponse.getResponse();
// END OF IASRI 4665318
// Log post-service information
log("---------------------------------------------------------------");
log(" authType=" + hreq.getAuthType());
log(" contentLength=" + hresponse.getContentLength());
log(" contentType=" + hresponse.getContentType());
Cookie rcookies[] = hresponse.getCookies();
for (int i = 0; i < rcookies.length; i++) {
log(" cookie=" + rcookies[i].getName() + "=" +
rcookies[i].getValue() + "; domain=" +
rcookies[i].getDomain() + "; path=" + rcookies[i].getPath());
}
String rhnames[] = hresponse.getHeaderNames();
for (int i = 0; i < rhnames.length; i++) {
String rhvalues[] = hresponse.getHeaderValues(rhnames[i]);
for (int j = 0; j < rhvalues.length; j++)
log(" header=" + rhnames[i] + "=" + rhvalues[j]);
}
log(" message=" + hresponse.getMessage());
log(" remoteUser=" + hreq.getRemoteUser());
log(" status=" + hresponse.getStatus());
log("===============================================================");
}