HttpServletResponse response) throws ServletException, IOException {
// Here we are using MeteredServletRequest and MeteredServletResponse to meter
// the request and response.
// TODO: only wrap the request and response if a carbon.xml entry"metering=true
MeteredServletRequest wrappedRequest = new MeteredServletRequest(request);
MeteredServletResponse wrappedResponse = new MeteredServletResponse(response);
super.doPost(wrappedRequest, wrappedResponse);
// Call the callback to persist the wrapped request and wrapped response data
persistRequestData(wrappedRequest, wrappedResponse);
}