---
title: "java httpClient 发送get请求"
author: "exceptionhelp"
date: "2014-11-18T18:15:25Z"
tags: []
categories: ["编程语言"]
slug: "java-httpclient-get"
draft: false
lastmod: "2014-11-18T18:15:25Z"
id: 2157735
url: "https://exceptionhelp.iteye.com/blog/2157735"
---

java发送get请求。
在开发中我们经常遇到从一个服务器中获取另外一个服务器的数据，他们走的基本上都是api,这里面get请求是使用做多的。
下面的例子就是java使用HttpCilent发送一个get请求。具体代码见
java发送个体请求http://www.exceptionhelp.com/javadetail?articleId=580
<http://www.exceptionhelp.com/javadetail?articleId=580>