int status = 200;
if (response instanceof VRaptorResponse) {
VRaptorResponse r = (VRaptorResponse) response;
ServletResponse sr = r.getResponse();
if(sr instanceof ObservableResponse) {
ObservableResponse resp = (ObservableResponse) sr;
etag = resp.getEtagHeader();
if(etag.equals("")) {
etag = resp.getMd5();
hadEtag = "false";
} else {
hadEtag = "true";
}
size = resp.size();
cacheControl = resp.getCacheControlHeader();
status = resp.getGivenStatus();
}
}
String queryString = extractQueryString(request.getMethod());