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