Example usage for Java org.springframework.http.server ServerHttpResponse fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close this response, freeing any resources created. |
void | flush() Ensure that the headers and the content of the response are written out. |
OutputStream | getBody() Return the body of the message as an output stream. |
HttpHeaders | getHeaders() Return the headers of this message. |
void | setStatusCode(HttpStatus status) Set the HTTP status code of the response. |