public static Result redirect(String url) {

        Result result = status(Result.SC_303_SEE_OTHER);
        result.addHeader(Result.LOCATION, url);
        result.render(Result.NO_HTTP_BODY);

        return result;
    }
public static Result redirect(String url) {

        Result result = status(Result.SC_303_SEE_OTHER);
        result.addHeader(Result.LOCATION, url);
        result.render(Result.NO_HTTP_BODY);

        return result;
    }
public static Result redirect ( String url ) { Result result = status ( Result . SC_303_SEE_OTHER ) ; result . addHeader ( Result . LOCATION , url ) ; result . render ( Result . NO_HTTP_BODY ) ; return result ; }
A redirect that uses 303 see other.

The redirect does NOT need a template and does NOT
render a text in the Http body by default.

If you wish to do so please
remove the {@link NoHttpBody} that is set as renderable of
the Result.

@param url
The url used as redirect target.
@return A nicely configured result with status code 303 and the url set
as Location header. Renders no Http body by default.
A redirect that uses 303 see other .