public class HttpConnectionImp extends Object
| 构造器和说明 |
|---|
HttpConnectionImp(org.apache.http.client.methods.HttpRequestBase baseRequest)
Instantiates a new Http connection imp.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getResponseResult(boolean storeCookie,
boolean useCookie)
Gets response result.
|
static String |
removeBOM(String responseBody)
Remove bom string.
|
public HttpConnectionImp(org.apache.http.client.methods.HttpRequestBase baseRequest)
baseRequest - the base requestpublic static String removeBOM(String responseBody)
responseBody - the response bodypublic String getResponseResult(boolean storeCookie, boolean useCookie)
storeCookie - the store cookieuseCookie - the use cookieCopyright © 2016. All rights reserved.