eu.emi.client
Class DSRClient
java.lang.Object
eu.emi.client.DSRClient
public class DSRClient
- extends Object
Helper class to create the client resource instance
- Author:
- a.memon
|
Method Summary |
com.sun.jersey.api.client.ClientResponse |
delete(String url)
|
com.sun.jersey.api.client.Client |
getClient()
|
com.sun.jersey.api.client.WebResource |
getClientResource()
|
org.codehaus.jettison.json.JSONArray |
query(javax.ws.rs.core.MultivaluedMap<String,String> attrMap)
|
org.codehaus.jettison.json.JSONArray |
queryJSON(org.codehaus.jettison.json.JSONObject queryDocument)
|
QueryResult |
queryXML(javax.ws.rs.core.MultivaluedMap<String,String> attrMap,
Integer skip,
Integer limit)
|
org.codehaus.jettison.json.JSONArray |
register(org.codehaus.jettison.json.JSONArray ja)
|
org.codehaus.jettison.json.JSONArray |
update(org.codehaus.jettison.json.JSONArray ja)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSRClient
public DSRClient(String url,
ClientSecurityProperties sp)
DSRClient
public DSRClient(String url)
getClientResource
public com.sun.jersey.api.client.WebResource getClientResource()
getClient
public com.sun.jersey.api.client.Client getClient()
register
public org.codehaus.jettison.json.JSONArray register(org.codehaus.jettison.json.JSONArray ja)
update
public org.codehaus.jettison.json.JSONArray update(org.codehaus.jettison.json.JSONArray ja)
delete
public com.sun.jersey.api.client.ClientResponse delete(String url)
query
public org.codehaus.jettison.json.JSONArray query(javax.ws.rs.core.MultivaluedMap<String,String> attrMap)
queryJSON
public org.codehaus.jettison.json.JSONArray queryJSON(org.codehaus.jettison.json.JSONObject queryDocument)
queryXML
public QueryResult queryXML(javax.ws.rs.core.MultivaluedMap<String,String> attrMap,
Integer skip,
Integer limit)
Copyright © 2012 EMI. All Rights Reserved.