Class ResponseData
- java.lang.Object
-
- org.springframework.cloud.client.loadbalancer.ResponseData
-
public class ResponseData extends Object
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
Constructors Constructor Description ResponseData(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie>
getCookies()
org.springframework.http.HttpHeaders
getHeaders()
org.springframework.http.HttpStatus
getHttpStatus()
Integer
getRawHttpStatus()
RequestData
getRequestData()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
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
public RequestData getRequestData()
-
getRawHttpStatus
public Integer getRawHttpStatus()
-
-