接口 ClientHttpRequest
- 所有超级接口:
HttpMessage,HttpOutputMessage,HttpRequest
- 所有已知实现类:
AbstractBufferingClientHttpRequest,AbstractClientHttpRequest,AbstractStreamingClientHttpRequest,BufferingClientHttpRequestWrapper,HttpComponentsClientHttpRequest,InterceptingClientHttpRequest,JdkClientHttpRequest,JettyClientHttpRequest,ReactorNettyClientRequest,SimpleClientHttpRequest
Represents a client-side HTTP request.
Created via an implementation of the
ClientHttpRequestFactory.
A ClientHttpRequest can be executed,
receiving a ClientHttpResponse which can be read from.
- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
- 另请参阅:
-
方法概要
从接口继承的方法 cn.taketoday.http.HttpMessage
getHeaders从接口继承的方法 cn.taketoday.http.HttpOutputMessage
getBody从接口继承的方法 cn.taketoday.http.HttpRequest
getMethod, getMethodValue, getURI
-
方法详细资料
-
execute
Execute this request, resulting in aClientHttpResponsethat can be read.- 返回:
- the response result of the execution
- 抛出:
IOException- in case of I/O errors
-