类 ClientHttpResponseDecorator
java.lang.Object
cn.taketoday.http.client.reactive.ClientHttpResponseDecorator
- 所有已实现的接口:
ClientHttpResponse,HttpMessage,ReactiveHttpInputMessage
Wraps another
ClientHttpResponse and delegates all methods to it.
Sub-classes can override specific methods selectively.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer>getBody()Return the body of the message as aPublisher.cn.taketoday.util.MultiValueMap<String,ResponseCookie> Return a read-only map of response cookies received from the server.Return the headers of this message.getId()Return an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.intReturn the HTTP status code (potentially non-standard and not resolvable through theHttpStatusenum) as an integer.Return the HTTP status code as anHttpStatusenum value.toString()
-
字段详细资料
-
delegate
-
-
构造器详细资料
-
ClientHttpResponseDecorator
-
-
方法详细资料
-
getDelegate
-
getId
从接口复制的说明:ClientHttpResponseReturn an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.- 指定者:
getId在接口中ClientHttpResponse
-
getStatusCode
从接口复制的说明:ClientHttpResponseReturn the HTTP status code as anHttpStatusenum value.- 指定者:
getStatusCode在接口中ClientHttpResponse- 返回:
- the HTTP status as an HttpStatus enum value (never
null) - 另请参阅:
-
getRawStatusCode
public int getRawStatusCode()从接口复制的说明:ClientHttpResponseReturn the HTTP status code (potentially non-standard and not resolvable through theHttpStatusenum) as an integer.- 指定者:
getRawStatusCode在接口中ClientHttpResponse- 返回:
- the HTTP status as an integer value
- 另请参阅:
-
getHeaders
从接口复制的说明:HttpMessageReturn the headers of this message.- 指定者:
getHeaders在接口中HttpMessage- 返回:
- a corresponding HttpHeaders object (never
null)
-
getCookies
从接口复制的说明:ClientHttpResponseReturn a read-only map of response cookies received from the server.- 指定者:
getCookies在接口中ClientHttpResponse
-
getBody
public reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer> getBody()从接口复制的说明:ReactiveHttpInputMessageReturn the body of the message as aPublisher.- 指定者:
getBody在接口中ReactiveHttpInputMessage- 返回:
- the body content publisher
-
toString
-