public class HttpClient extends Object
| Constructor and Description |
|---|
HttpClient(String jsessionId) |
HttpClient(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String url) |
String |
postJson(String url,
Object object) |
public HttpClient(String jsessionId)
public String get(String url) throws IOException
IOExceptionpublic String postJson(String url, Object object) throws IOException, com.fasterxml.jackson.core.JsonProcessingException, UnsupportedCharsetException, org.apache.http.ParseException
IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionUnsupportedCharsetExceptionorg.apache.http.ParseExceptionCopyright © 2017. All rights reserved.