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