/** * Redirects any HTTP request of type DELETE on 'fromPath' to 'toPath' with the provided redirect 'status' code. * * @param fromPath from path * @param toPath to path * @param status status code */ public void delete(String fromPath, String toPath, Status status) { http.delete(fromPath, redirectRoute(toPath, status)); }
/** * Redirects any HTTP request of type DELETE on 'fromPath' to 'toPath' with the provided redirect 'status' code. * * @param fromPath from path * @param toPath to path * @param status status code */ public void delete(String fromPath, String toPath, Status status) { http.delete(fromPath, redirectRoute(toPath, status)); }