![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTTP
一只会飞的猪_
笨鸟先飞
展开
-
基于apache httpclient实现四种常用method
在使用RESTFUL时有时需要httpclient下面是基于apache实现GET/POST/PUT/DELETE1.添加依赖dependency> groupId>org.apache.httpcomponentsgroupId> artifactId>httpclientartifactId> version>4.5version>dependency原创 2017-06-26 16:25:59 · 1938 阅读 · 0 评论 -
springmvc http content-type
1. Content-Type MediaType,即是Internet Media Type,互联网媒体类型;也叫做MIME类型,在Http协议消息头中,使用Content-Type来表示具体请求中的媒体类型信息。[html] view plain copy类型格式:type/subtype(;parameter)? type 主转载 2017-08-14 10:38:10 · 304 阅读 · 0 评论