接口 ClientHttpRequest
- 所有超级接口:
HttpMessage,ReactiveHttpOutputMessage
- 所有已知实现类:
AbstractClientHttpRequest,ClientHttpRequestDecorator,HttpComponentsClientHttpRequest,JdkClientHttpRequest,JettyClientHttpRequest,ReactorClientHttpRequest,ReactorNetty2ClientHttpRequest
Represents a client-side reactive HTTP request.
- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Brian Clozel
-
方法概要
修饰符和类型方法说明cn.taketoday.util.MultiValueMap<String,HttpCookie> Return a mutable map of request cookies to send to the server.Return the HTTP method of the request.<T> TReturn the request from the underlying HTTP library.getURI()Return the URI of the request.从接口继承的方法 cn.taketoday.http.HttpMessage
getHeaders从接口继承的方法 cn.taketoday.http.ReactiveHttpOutputMessage
beforeCommit, bufferFactory, isCommitted, setComplete, writeAndFlushWith, writeWith
-
方法详细资料
-
getMethod
HttpMethod getMethod()Return the HTTP method of the request. -
getURI
URI getURI()Return the URI of the request. -
getCookies
cn.taketoday.util.MultiValueMap<String,HttpCookie> getCookies()Return a mutable map of request cookies to send to the server. -
getNativeRequest
<T> T getNativeRequest()Return the request from the underlying HTTP library.- 类型参数:
T- the expected type of the request to cast to
-