| java.lang.Object | |
| ↳ | org.springframework.http.server.ServletServerHttpResponse |
ServerHttpResponse implementation that is based on a HttpServletResponse.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new instance of the ServletServerHttpResponse based on the given HttpServletResponse.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Close this response, freeing any resources created.
| |||||||||||
Return the body of the message as an output stream.
| |||||||||||
Return the headers of this message.
| |||||||||||
Set the HTTP status code of the response.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.http.HttpMessage
| |||||||||||
From interface
org.springframework.http.HttpOutputMessage
| |||||||||||
From interface
org.springframework.http.server.ServerHttpResponse
| |||||||||||
Construct a new instance of the ServletServerHttpResponse based on the given HttpServletResponse.
| servletResponse | the HTTP Servlet response |
|---|
Close this response, freeing any resources created.
Return the body of the message as an output stream.
| IOException |
|---|
Return the headers of this message.
Set the HTTP status code of the response.
| status | the HTTP status as an HttpStatus enum value |
|---|