类 BufferingClientHttpResponseWrapper
java.lang.Object
cn.taketoday.http.client.ClientHttpResponseDecorator
cn.taketoday.http.client.BufferingClientHttpResponseWrapper
- 所有已实现的接口:
ClientHttpResponse,HttpInputMessage,HttpMessage,Closeable,AutoCloseable
Simple implementation of
ClientHttpResponse that reads the response's body
into memory, thus allowing for multiple invocations of getBody().- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
-
字段概要
字段从类继承的字段 cn.taketoday.http.client.ClientHttpResponseDecorator
delegate -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.http.client.ClientHttpResponseDecorator
close, getDelegate, getHeaders, getRawStatusCode, getStatusCode, getStatusText
-
字段详细资料
-
body
@Nullable private byte[] body
-
-
构造器详细资料
-
BufferingClientHttpResponseWrapper
BufferingClientHttpResponseWrapper(ClientHttpResponse response)
-
-
方法详细资料
-
getBody
从接口复制的说明:HttpInputMessageReturn the body of the message as an input stream.- 指定者:
getBody在接口中HttpInputMessage- 覆盖:
getBody在类中ClientHttpResponseDecorator- 返回:
- the input stream body (never
null) - 抛出:
IOException- in case of I/O errors
-