/** * Implementation of DELETE interface * * @param request * @param response * @throws ServletException * @throws IOException */ @Override protected void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { preprocessRequest(request); // this method is also used to serve for the listServices request. if (!disableREST) { new RestRequestProcessor(Constants.Configuration.HTTP_METHOD_DELETE, request, response) .processURLRequest(); } else { showRestDisabledErrorMessage(response); } }
/** * Implementation of PUT interface * * @param request * @param response * @throws ServletException * @throws IOException */ @Override protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { preprocessRequest(request); // this method is also used to serve for the listServices request. if (!disableREST) { new RestRequestProcessor(Constants.Configuration.HTTP_METHOD_PUT, request, response) .processXMLRequest(); } else { showRestDisabledErrorMessage(response); } }
/** * Implementation of PUT interface * * @param request * @param response * @throws ServletException * @throws IOException */ @Override protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { preprocessRequest(request); // this method is also used to serve for the listServices request. if (!disableREST) { new RestRequestProcessor(Constants.Configuration.HTTP_METHOD_PUT, request, response) .processXMLRequest(); } else { showRestDisabledErrorMessage(response); } }
/** * Implementation of DELETE interface * * @param request * @param response * @throws ServletException * @throws IOException */ @Override protected void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { preprocessRequest(request); // this method is also used to serve for the listServices request. if (!disableREST) { new RestRequestProcessor(Constants.Configuration.HTTP_METHOD_DELETE, request, response) .processURLRequest(); } else { showRestDisabledErrorMessage(response); } }
HttpServletResponse response) throws ServletException, IOException { preprocessRequest(request);
HttpServletResponse response) throws ServletException, IOException { preprocessRequest(request);