List of usage examples for org.springframework.http HttpStatus resolve
@Nullable public static HttpStatus resolve(int statusCode)
From source file:org.springframework.http.server.reactive.AbstractServerHttpResponse.java
@Override @Nullable public HttpStatus getStatusCode() { return (this.statusCode != null ? HttpStatus.resolve(this.statusCode) : null); }