类 ClientResponseWrapper.HeadersWrapper
java.lang.Object
cn.taketoday.web.reactive.function.client.support.ClientResponseWrapper.HeadersWrapper
- 所有已实现的接口:
ClientResponse.Headers
public static class ClientResponseWrapper.HeadersWrapper
extends Object
implements ClientResponse.Headers
Implementation of the
Headers interface that can be subclassed
to adapt the headers in a
exchange filter function.
All methods default to calling through to the wrapped request.-
字段概要
字段 -
构造器概要
构造器构造器说明HeadersWrapper(ClientResponse.Headers headers) Create a newHeadersWrapperthat wraps the given request. -
方法概要
修饰符和类型方法说明Return the headers as anHttpHeadersinstance.Return the length of the body in bytes, as specified by theContent-Lengthheader.Return the media type of the body, as specified by theContent-Typeheader.Return the header value(s), if any, for the header of the given name.
-
字段详细资料
-
headers
-
-
构造器详细资料
-
HeadersWrapper
Create a newHeadersWrapperthat wraps the given request.- 参数:
headers- the headers to wrap
-
-
方法详细资料
-
contentLength
从接口复制的说明:ClientResponse.HeadersReturn the length of the body in bytes, as specified by theContent-Lengthheader.- 指定者:
contentLength在接口中ClientResponse.Headers
-
contentType
从接口复制的说明:ClientResponse.HeadersReturn the media type of the body, as specified by theContent-Typeheader.- 指定者:
contentType在接口中ClientResponse.Headers
-
header
从接口复制的说明:ClientResponse.HeadersReturn the header value(s), if any, for the header of the given name.Return an empty list if no header values are found.
- 指定者:
header在接口中ClientResponse.Headers- 参数:
headerName- the header name
-
asHttpHeaders
从接口复制的说明:ClientResponse.HeadersReturn the headers as anHttpHeadersinstance.- 指定者:
asHttpHeaders在接口中ClientResponse.Headers
-