wrapper.setHeader(HttpHeaders.PRAGMA, "no-cache"); // HTTP 1.0.
wrapper.setDateHeader(HttpHeaders.EXPIRES, 0);
final AdminResponseHandlingStrategy strategyStubResponse = AdminResponseHandlingStrategyFactory.getStrategy(request);
try {
strategyStubResponse.handle(request, wrapper, stubbedDataManager);
} catch (final Exception ex) {
HandlerUtils.configureErrorResponse(response, HttpStatus.INTERNAL_SERVER_ERROR_500, "Problem handling request in Admin handler: " + ex.toString());
}
ConsoleUtils.logOutgoingResponse(request.getRequestURI(), wrapper, AdminHandler.ADMIN_ROOT);