|
|
|
@ -5,8 +5,10 @@ |
|
|
|
|
package org.panda.code.uitl.http; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.log4j.Logger; |
|
|
|
|
|
|
|
|
|
import org.panda.code.uitl.StringUtil; |
|
|
|
|
import org.slf4j.Logger; |
|
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
|
|
|
|
|
|
import java.io.BufferedReader; |
|
|
|
|
import java.io.InputStream; |
|
|
|
@ -32,7 +34,8 @@ public class HttpKit { |
|
|
|
|
|
|
|
|
|
private static final String DEFAULT_CHARSET = "UTF-8"; |
|
|
|
|
private static final String HTTP_PARAM_SYMBOL = "?"; |
|
|
|
|
private static final Logger LOGGER = Logger.getLogger(HttpKit.class); |
|
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(HttpKit.class); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 发送Get请求 |
|
|
|
|