美国铁路
package javax.utils; import java.util.Map; importorg.spring帧work.http.http entity; importorg.spring framework.http.http headers; importorg.spring帧work.http.http method; importorg.spring帧. http.response entity; importorg.spring framework.web.client.rest template; /** * RestTemplate远程呼叫工具类* * @ author Logan * @ create date 2019-02-08 * */publicclassrestemplateutils {私有呼叫数据----------------- get @ param response type是对象类型* @return ResponseEntity响应对象封装类*/publicstatictrety ClassT responseType (响应类型)返回响应类型} /** * GET请求调用方式* * @param url