public class HTTPHelper extends Object implements ContextHelper
| Modifier and Type | Field and Description |
|---|---|
protected static com.fasterxml.jackson.databind.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) |
Blob |
delete(String url,
Object data,
Map<String,Object> options) |
Blob |
get(String url,
Map<String,Object> options) |
Blob |
post(String url,
com.sun.jersey.multipart.MultiPart multiPart,
Map<String,Object> options) |
Blob |
post(String url,
Object data,
Map<String,Object> options) |
Blob |
put(String url,
com.sun.jersey.multipart.MultiPart multiPart,
Map<String,Object> options) |
Blob |
put(String url,
Object data,
Map<String,Object> options) |
protected static volatile com.fasterxml.jackson.databind.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
IOExceptionpublic 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) throws IOException
IOExceptionpublic Blob get(String url, Map<String,Object> options) throws IOException
IOExceptionpublic Blob post(String url, Object data, Map<String,Object> options) throws IOException
IOExceptionpublic Blob post(String url, com.sun.jersey.multipart.MultiPart multiPart, Map<String,Object> options) throws IOException
IOExceptionpublic Blob put(String url, Object data, Map<String,Object> options) throws IOException
IOExceptionpublic Blob put(String url, com.sun.jersey.multipart.MultiPart multiPart, Map<String,Object> options) throws IOException
IOExceptionpublic Blob delete(String url, Object data, Map<String,Object> options) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.