public class ModifyResponseBodyGatewayFilterFactory.ResponseAdapter extends Object implements org.springframework.http.client.reactive.ClientHttpResponse
Constructor and Description |
---|
ResponseAdapter(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> body,
org.springframework.http.HttpHeaders headers) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> |
getBody() |
org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> |
getCookies() |
org.springframework.http.HttpHeaders |
getHeaders() |
int |
getRawStatusCode() |
org.springframework.http.HttpStatus |
getStatusCode() |
public ResponseAdapter(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> body, org.springframework.http.HttpHeaders headers)
public reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> getBody()
getBody
in interface org.springframework.http.ReactiveHttpInputMessage
public org.springframework.http.HttpHeaders getHeaders()
getHeaders
in interface org.springframework.http.HttpMessage
public org.springframework.http.HttpStatus getStatusCode()
getStatusCode
in interface org.springframework.http.client.reactive.ClientHttpResponse
public int getRawStatusCode()
getRawStatusCode
in interface org.springframework.http.client.reactive.ClientHttpResponse
public org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> getCookies()
getCookies
in interface org.springframework.http.client.reactive.ClientHttpResponse
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.