public void handle(final String target, final Request baseRequest, final HttpServletRequest request, final HttpServletResponse response) throws IOException, ServletException {
ConsoleUtils.logIncomingRequest(request);
baseRequest.setHandled(true);
final HttpServletResponseWithGetStatus wrapper = new HttpServletResponseWithGetStatus(response);
wrapper.setContentType(MimeTypes.TEXT_HTML_UTF_8);
wrapper.setStatus(HttpStatus.OK_200);
wrapper.setHeader(HttpHeaders.SERVER, HandlerUtils.constructHeaderServerName());
wrapper.setHeader(HttpHeaders.DATE, new Date().toString());
wrapper.setHeader(HttpHeaders.CACHE_CONTROL, "no-cache, no-store, must-revalidate"); // HTTP 1.1.
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) {