List of usage examples for org.springframework.http HttpStatus is1xxInformational
public boolean is1xxInformational()
From source file:craterdog.marketplace.ServiceResponseErrorHandler.java
@Override protected boolean hasError(HttpStatus statusCode) { // only throw exception when the status code is not expected boolean result = statusCode.is1xxInformational() || statusCode.is3xxRedirection(); return result; }