public class RestRequest extends Object
Constructor and Description |
---|
RestRequest(com.sun.jersey.api.client.WebResource service,
String path) |
Modifier and Type | Method and Description |
---|---|
RestRequest |
data(String data) |
RestResponse |
execute() |
String |
getData() |
Map<String,Object> |
getHeaders() |
String |
getPath() |
MultivaluedMap<String,String> |
getQueryParams() |
String |
getRepositoryName() |
RequestType |
getRequestType() |
List<String> |
getSchemas() |
RestRequest |
header(String key,
Object value) |
RestRequest |
headers(Map<String,Object> headers) |
RestRequest |
queryParam(String key,
String value) |
RestRequest |
queryParams(MultivaluedMap<String,String> queryParams) |
RestRequest |
repositoryName(String repositoryName) |
RestRequest |
requestType(RequestType requestType) |
RestRequest |
schema(String schema) |
RestRequest |
schemas(List<String> schemas) |
public RestRequest(com.sun.jersey.api.client.WebResource service, String path)
public RestRequest requestType(RequestType requestType)
public RestRequest data(String data)
public RestRequest repositoryName(String repositoryName)
public RestRequest schema(String schema)
public RestRequest schemas(List<String> schemas)
public RestRequest header(String key, Object value)
public RestRequest headers(Map<String,Object> headers)
public RestRequest queryParam(String key, String value)
public RestRequest queryParams(MultivaluedMap<String,String> queryParams)
public String getPath()
public RequestType getRequestType()
public String getData()
public String getRepositoryName()
public MultivaluedMap<String,String> getQueryParams()
public RestResponse execute()
Copyright © 2013 Nuxeo SA. All Rights Reserved.