Class 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
    • 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()
      • getRawHttpStatus

        public Integer getRawHttpStatus()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object