public static HttpStatus ok() { return new HttpStatus(200, "OK"); }
public HttpStatus temporaryRedirect307() { return new HttpStatus(307, "The requested URL resides temporarily under a different URL"); } public HttpStatus permanentRedirect308() {
public HttpStatus multipleChoice300() { return new HttpStatus(300, "The requested resource points to a destination with multiple representations."); }
public HttpStatus movedTemporarily302() { return new HttpStatus(302, "The requested resource has been temporarily moved to a different URL."); } public HttpStatus notModified304() {
public HttpStatus movedPermanently301() { return new HttpStatus(301, "The requested resource has been assigned a new permanent URL."); } public HttpStatus movedTemporarily302() {
public HttpStatus notModified304() { return new HttpStatus(304, "The contents of the requested web page have not been modified since the last access."); } public HttpStatus temporaryRedirect307() {
public HttpStatus permanentRedirect308() { return new HttpStatus(308, "All future requests should be sent using a different URI."); } }
public static HttpStatus of(final int status, final String message) { return new HttpStatus(status, message); }
public HttpStatus temporaryRedirect307() { return new HttpStatus(307, "The requested URL resides temporarily under a different URL"); } public HttpStatus permanentRedirect308() {
public HttpStatus movedPermanently301() { return new HttpStatus(301, "The requested resource has been assigned a new permanent URL."); } public HttpStatus movedTemporarily302() {
public HttpStatus permanentRedirect308() { return new HttpStatus(308, "All future requests should be sent using a different URI."); } }
public HttpStatus notModified304() { return new HttpStatus(304, "The contents of the requested web page have not been modified since the last access."); } public HttpStatus temporaryRedirect307() {
public HttpStatus movedTemporarily302() { return new HttpStatus(302, "The requested resource has been temporarily moved to a different URL."); } public HttpStatus notModified304() {
public HttpStatus multipleChoice300() { return new HttpStatus(300, "The requested resource points to a destination with multiple representations."); }
public static HttpStatus ok() { return new HttpStatus(200, "OK"); }
public static HttpStatus of(final int status, final String message) { return new HttpStatus(status, message); }