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() |
javax.ws.rs.core.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(javax.ws.rs.core.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(javax.ws.rs.core.MultivaluedMap<String,String> queryParams)
public String getPath()
public RequestType getRequestType()
public String getData()
public String getRepositoryName()
public RestResponse execute()
Copyright © 2015 Nuxeo SA. All rights reserved.