public class HTTPHelper extends Object implements ContextHelper
| Modifier and Type | Field and Description |
|---|---|
protected static org.codehaus.jackson.map.ObjectMapper |
mapper |
| Constructor and Description |
|---|
HTTPHelper() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
call(String username,
String password,
String requestType,
String path) |
Blob |
call(String username,
String password,
String requestType,
String path,
Map<String,String> headers) |
Blob |
call(String username,
String password,
String requestType,
String path,
com.sun.jersey.multipart.MultiPart mp) |
Blob |
call(String username,
String password,
String requestType,
String path,
com.sun.jersey.multipart.MultiPart mp,
Map<String,String> headers) |
Blob |
call(String username,
String password,
String requestType,
String path,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams) |
Blob |
call(String username,
String password,
String requestType,
String path,
Object data) |
Blob |
call(String username,
String password,
String requestType,
String path,
Object data,
Map<String,String> headers) |
Blob |
call(String username,
String password,
String requestType,
String url,
Object data,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
com.sun.jersey.multipart.MultiPart mp,
Map<String,String> headers) |
protected static volatile org.codehaus.jackson.map.ObjectMapper mapper
public HTTPHelper()
public Blob call(String username, String password, String requestType, String path) throws IOException
IOExceptionpublic Blob call(String username, String password, String requestType, String path, Map<String,String> headers) throws IOException
IOExceptionpublic Blob call(String username, String password, String requestType, String path, com.sun.jersey.multipart.MultiPart mp) throws IOException
IOExceptionpublic Blob call(String username, String password, String requestType, String path, com.sun.jersey.multipart.MultiPart mp, Map<String,String> headers) throws IOException
IOExceptionpublic Blob call(String username, String password, String requestType, String path, javax.ws.rs.core.MultivaluedMap<String,String> queryParams) throws IOException
IOExceptionpublic Blob call(String username, String password, String requestType, String path, Object data) throws IOException
IOExceptionpublic Blob call(String username, String password, String requestType, String path, Object data, Map<String,String> headers) throws IOException
IOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.