Interface HttpStatusCode
- All Known Implementing Classes:
HttpStatus
public interface HttpStatusCode
A response status: an
HttpStatus for the common ones, or any other code.-
Method Details
-
value
int value()The numeric code. -
is1xxInformational
boolean is1xxInformational() -
is2xxSuccessful
boolean is2xxSuccessful() -
is3xxRedirection
boolean is3xxRedirection() -
is4xxClientError
boolean is4xxClientError() -
is5xxServerError
boolean is5xxServerError() -
isError
boolean isError()A 4xx or a 5xx.
-