Class ResponseData
java.lang.Object
org.springframework.cloud.client.loadbalancer.ResponseData
Represents the data of the request that can be safely read (without passing request
reactive stream values).
- Since:
- 3.0.0
- Author:
- Olga Maciaszek-Sharma
-
Constructor Summary
ConstructorDescriptionResponseData
(RequestData requestData, org.springframework.http.client.ClientHttpResponse clientHttpResponse) Deprecated.for removal; new constructors will be added in 4.xResponseData
(RequestData requestData, org.springframework.http.server.reactive.ServerHttpResponse response) Deprecated.for removal; new constructors will be added in 4.xResponseData
(RequestData requestData, org.springframework.web.reactive.function.client.ClientResponse response) Deprecated.for removal; new constructors will be added in 4.xResponseData
(org.springframework.http.client.ClientHttpResponse clientHttpResponse, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.xResponseData
(org.springframework.http.HttpHeaders headers, org.springframework.util.MultiValueMap<String, org.springframework.http.ResponseCookie> cookies, RequestData requestData, Integer rawHttpStatus) Deprecated.for removal; new constructors will be added in 4.xResponseData
(org.springframework.http.HttpStatus httpStatus, org.springframework.http.HttpHeaders headers, org.springframework.util.MultiValueMap<String, org.springframework.http.ResponseCookie> cookies, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.xResponseData
(org.springframework.http.server.reactive.ServerHttpResponse response, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.xResponseData
(org.springframework.web.reactive.function.client.ClientResponse response, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.x -
Method Summary
-
Constructor Details
-
ResponseData
@Deprecated public ResponseData(org.springframework.http.HttpHeaders headers, org.springframework.util.MultiValueMap<String, org.springframework.http.ResponseCookie> cookies, RequestData requestData, Integer rawHttpStatus) Deprecated.for removal; new constructors will be added in 4.x -
ResponseData
@Deprecated public ResponseData(org.springframework.http.HttpStatus httpStatus, org.springframework.http.HttpHeaders headers, org.springframework.util.MultiValueMap<String, org.springframework.http.ResponseCookie> cookies, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.x -
ResponseData
@Deprecated public ResponseData(org.springframework.web.reactive.function.client.ClientResponse response, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.x -
ResponseData
@Deprecated public ResponseData(RequestData requestData, org.springframework.web.reactive.function.client.ClientResponse response) Deprecated.for removal; new constructors will be added in 4.x -
ResponseData
@Deprecated public ResponseData(org.springframework.http.server.reactive.ServerHttpResponse response, RequestData requestData) Deprecated.for removal; new constructors will be added in 4.x -
ResponseData
@Deprecated public ResponseData(RequestData requestData, org.springframework.http.server.reactive.ServerHttpResponse response) Deprecated.for removal; new constructors will be added in 4.x -
ResponseData
@Deprecated public ResponseData(org.springframework.http.client.ClientHttpResponse clientHttpResponse, RequestData requestData) throws IOException Deprecated.for removal; new constructors will be added in 4.x- Throws:
IOException
-
ResponseData
@Deprecated public ResponseData(RequestData requestData, org.springframework.http.client.ClientHttpResponse clientHttpResponse) throws IOException Deprecated.for removal; new constructors will be added in 4.x- Throws:
IOException
-
-
Method Details
-
getHttpStatus
public org.springframework.http.HttpStatus getHttpStatus() -
getHeaders
public org.springframework.http.HttpHeaders getHeaders() -
getCookies
public org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> getCookies() -
getRequestData
-
getRawHttpStatus
-
toString
-
hashCode
public int hashCode() -
equals
-