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
IOException
public Blob call(String username, String password, String requestType, String path, Map<String,String> headers) throws IOException
IOException
public Blob call(String username, String password, String requestType, String path, com.sun.jersey.multipart.MultiPart mp) throws IOException
IOException
public Blob call(String username, String password, String requestType, String path, com.sun.jersey.multipart.MultiPart mp, Map<String,String> headers) throws IOException
IOException
public Blob call(String username, String password, String requestType, String path, javax.ws.rs.core.MultivaluedMap<String,String> queryParams) throws IOException
IOException
public Blob call(String username, String password, String requestType, String path, Object data) throws IOException
IOException
public Blob call(String username, String password, String requestType, String path, Object data, Map<String,String> headers) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.