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