mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 08:16:15 +10:00
[강운덕] [LUCYSUS-1744] apache httpclient4의 중요 api를 다 캡쳐하게 수정. cookie, entity를 덤프할수 있도록 기능 추가.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-testweb/trunk@2525 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -115,7 +115,12 @@ public class HttpInvoker {
|
||||
}
|
||||
|
||||
private HttpEntity getEntity(Map<String, Object> paramMap) throws UnsupportedEncodingException {
|
||||
return new StringEntity(paramMap.toString(), "UTF-8");
|
||||
if (paramMap.size() != 0) {
|
||||
// size가 0일때 호출하면 entity에 {}가 들어감.
|
||||
return new StringEntity(paramMap.toString(), "UTF-8");
|
||||
} else {
|
||||
return new StringEntity("", "UTF-8");
|
||||
}
|
||||
}
|
||||
|
||||
private HttpParams getHttpParams() {
|
||||
|
||||
Reference in New Issue
Block a user