类的使用
cn.taketoday.http.HttpEntity
使用HttpEntity的程序包
程序包
说明
Contains a basic abstraction over client/server-side HTTP.
Contains an abstraction over client-side HTTP.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Core package of the client-side web support.
-
cn.taketoday.http中HttpEntity的使用
修饰符和类型类说明classExtension ofHttpEntitythat also exposes the HTTP method and the target URL.static classRequestEntity initialized with a URI template and variables instead of aURI.classExtension ofHttpEntitythat adds aHttpStatusCodestatus code.声明为HttpEntity的cn.taketoday.http中的字段修饰符和类型字段说明static final HttpEntity<?>HttpEntity.EMPTYThe emptyHttpEntity, with no body or headers. -
cn.taketoday.http.client中HttpEntity的使用
修饰符和类型类说明(专用程序包) static final classMultipartBodyBuilder.PublisherEntity<T,P extends org.reactivestreams.Publisher<T>> Specialization ofHttpEntityfor use with aPublisher-based body, for which we also need to keep track of the element type.修饰符和类型方法说明HttpEntity<?>MultipartBodyBuilder.DefaultPartBuilder.build()HttpEntity<?>MultipartBodyBuilder.PublisherPartBuilder.build()返回变量类型为HttpEntity的类型的cn.taketoday.http.client中的方法修饰符和类型方法说明cn.taketoday.util.MultiValueMap<String,HttpEntity<?>> MultipartBodyBuilder.build()Return aMultiValueMapwith the configured parts. -
cn.taketoday.http.converter中HttpEntity的使用
修饰符和类型方法说明protected HttpEntity<?>FormHttpMessageConverter.getHttpEntity(Object part) Return anHttpEntityfor the given part Object.参数类型为HttpEntity的cn.taketoday.http.converter中的方法修饰符和类型方法说明private voidFormHttpMessageConverter.writePart(String name, HttpEntity<?> partEntity, OutputStream os) -
cn.taketoday.web.client中HttpEntity的使用
参数类型为HttpEntity的cn.taketoday.web.client中的方法修饰符和类型方法说明<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, cn.taketoday.core.ParameterizedTypeReference<T> responseType, Object... uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, cn.taketoday.core.ParameterizedTypeReference<T> responseType, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, cn.taketoday.core.ParameterizedTypeReference<T> responseType) Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType) Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, cn.taketoday.core.ParameterizedTypeReference<T> responseType, Object... uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, cn.taketoday.core.ParameterizedTypeReference<T> responseType, Map<String, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, cn.taketoday.core.ParameterizedTypeReference<T> responseType) <T> ResponseEntity<T>RestTemplate.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType)