| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public MultiValueMap | |
| public default Integer | getRawStatusCode()
Deprecated
since 6.0. as of 6.0, in favor of
getStatusCode()
Return the status code that has been set, or otherwise fall back on the status of the response from the underlying server. |
| public HttpStatusCode | getStatusCode()
Return the status code that has been set, or otherwise fall back on the status of the response from the underlying server. |
| public default boolean | Returns: false if the status code change wasn't processed because
the HTTP response is committed, true if successfully set.the status code value value)Set the HTTP status code to the given value as an integer. |
| public boolean | Returns: false if the status code change wasn't processed because
the HTTP response is committed, true if successfully set.the HTTP status as an status)HttpStatusCode valueSet the HTTP status code of the response. |
| addCookie | back to summary |
|---|---|
| public void addCookie(ResponseCookie cookie) Add the given
| |
| getCookies | back to summary |
|---|---|
| public MultiValueMap Return a mutable map with the cookies to send to the server. | |
| getRawStatusCode | back to summary |
|---|---|
| public default Integer getRawStatusCode()
Return the status code that has been set, or otherwise fall back on the
status of the response from the underlying server. The return value may
be
| |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() Return the status code that has been set, or otherwise fall back on the
status of the response from the underlying server. The return value may
be
| |
| setRawStatusCode | back to summary |
|---|---|
| public default boolean setRawStatusCode(Integer value) Set the HTTP status code to the given value as an integer.
| |
| setStatusCode | back to summary |
|---|---|
| public boolean setStatusCode(HttpStatusCode status) Set the HTTP status code of the response.
| |