if (httpRequest != null) {
ServletHttpRequest request = (ServletHttpRequest) httpRequest.getWrapper();
if (request == null)
{
// Build the request and response.
request = new GeronimoServletHttpRequest(handler, null, httpRequest);
ServletHttpResponse response = new ServletHttpResponse(request, httpResponse);
httpRequest.setWrapper(request);
httpResponse.setWrapper(response);
}
}