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.x
    ResponseData(RequestData requestData, org.springframework.http.server.reactive.ServerHttpResponse response)
    Deprecated.
    for removal; new constructors will be added in 4.x
    ResponseData(RequestData requestData, org.springframework.web.reactive.function.client.ClientResponse response)
    Deprecated.
    for removal; new constructors will be added in 4.x
    ResponseData(org.springframework.http.client.ClientHttpResponse clientHttpResponse, RequestData requestData)
    Deprecated.
    for removal; new constructors will be added in 4.x
    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(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(org.springframework.http.server.reactive.ServerHttpResponse response, RequestData requestData)
    Deprecated.
    for removal; new constructors will be added in 4.x
    ResponseData(org.springframework.web.reactive.function.client.ClientResponse response, RequestData requestData)
    Deprecated.
    for removal; new constructors will be added in 4.x
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie>
     
    org.springframework.http.HttpHeaders
     
    org.springframework.http.HttpStatus
     
     
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public RequestData getRequestData()
    • getRawHttpStatus

      public Integer getRawHttpStatus()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object