| Package | Description |
|---|---|
| org.eurekaclinical.common.comm.clients |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EurekaClinicalClient.doDelete(String path)
Deletes the resource specified by the path.
|
protected void |
EurekaClinicalClient.doDelete(String path,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Deletes the resource specified by the path.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doDeleteForProxy(String path,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Deletes a resource from a proxied server.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
Class<T> cls)
Gets the resource specified by the path.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
Class<T> cls,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Gets the resource specified by the path.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
com.sun.jersey.api.client.GenericType<T> genericType)
Gets the requested resource.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
com.sun.jersey.api.client.GenericType<T> genericType,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Gets the requested resource
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
Class<T> cls)
Gets the resource specified by the path and the provided query
parameters.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
Class<T> cls,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Gets the resource specified by the path and the provided query
parameters.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
com.sun.jersey.api.client.GenericType<T> genericType)
Gets the requested resource.
|
protected <T> T |
EurekaClinicalClient.doGet(String path,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
com.sun.jersey.api.client.GenericType<T> genericType,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Gets the requested resource
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doGetForProxy(String path,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Gets a resource from a proxied server.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doGetResponse(String path)
Makes the GET call and returns the response.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doGetResponse(String path,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Makes the GET call with the provided headers and returns the response.
|
protected void |
EurekaClinicalClient.doPost(String path)
Makes a POST call to the specified path.
|
protected <T> T |
EurekaClinicalClient.doPost(String path,
javax.ws.rs.core.MultivaluedMap<String,String> formParams,
Class<T> cls)
Submits a form and gets back a JSON object.
|
protected <T> T |
EurekaClinicalClient.doPost(String path,
javax.ws.rs.core.MultivaluedMap<String,String> formParams,
Class<T> cls,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Submits a form and gets back a JSON object.
|
protected <T> T |
EurekaClinicalClient.doPost(String path,
javax.ws.rs.core.MultivaluedMap<String,String> formParams,
com.sun.jersey.api.client.GenericType<T> genericType)
Submits a form and gets back a JSON object.
|
protected <T> T |
EurekaClinicalClient.doPost(String path,
javax.ws.rs.core.MultivaluedMap<String,String> formParams,
com.sun.jersey.api.client.GenericType<T> genericType,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Submits a form and gets back a JSON object.
|
protected void |
EurekaClinicalClient.doPost(String path,
Object o)
Makes a POST request with the provided object in the body as JSON.
|
protected void |
EurekaClinicalClient.doPost(String path,
Object o,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Makes a POST request with the provided object in the body as JSON.
|
protected URI |
EurekaClinicalClient.doPostCreate(String path,
Object o)
Creates a resource specified as a JSON object.
|
protected URI |
EurekaClinicalClient.doPostCreate(String path,
Object o,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Creates a resource specified as a JSON object.
|
protected URI |
EurekaClinicalClient.doPostCreateMultipart(String path,
com.sun.jersey.multipart.FormDataMultiPart formDataMultiPart)
Creates a resource specified as a multi-part form.
|
protected URI |
EurekaClinicalClient.doPostCreateMultipart(String path,
InputStream inputStream)
Creates a resource specified as a multi-part form in an input stream.
|
protected URI |
EurekaClinicalClient.doPostCreateMultipart(String path,
InputStream inputStream,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Creates a resource specified as a multi-part form in an input stream.
|
protected void |
EurekaClinicalClient.doPostForm(String path,
javax.ws.rs.core.MultivaluedMap<String,String> formParams)
Submits a form.
|
protected void |
EurekaClinicalClient.doPostForm(String path,
javax.ws.rs.core.MultivaluedMap<String,String> formParams,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Submits a form.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doPostForProxy(String path,
InputStream inputStream,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Passes a new resource, form or other POST body to a proxied server.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doPostForProxy(String path,
String body,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Passes a new resource, form or other POST body to a proxied server.
|
void |
EurekaClinicalClient.doPostMultipart(String path,
com.sun.jersey.multipart.FormDataMultiPart formDataMultiPart)
Submits a multi-part form.
|
void |
EurekaClinicalClient.doPostMultipart(String path,
com.sun.jersey.multipart.FormDataMultiPart formDataMultiPart,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Submits a multi-part form.
|
protected void |
EurekaClinicalClient.doPostMultipart(String path,
InputStream inputStream)
Submits a multi-part form in an input stream.
|
protected void |
EurekaClinicalClient.doPostMultipart(String path,
InputStream inputStream,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Submits a multi-part form in an input stream.
|
protected void |
EurekaClinicalClient.doPut(String path)
Updates the resource specified by the path, for situations where the
nature of the update is completely specified by the path alone.
|
protected void |
EurekaClinicalClient.doPut(String path,
Object o)
Updates the resource specified by the path.
|
protected void |
EurekaClinicalClient.doPut(String path,
Object o,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Updates the resource specified by the path.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doPutForProxy(String path,
InputStream inputStream,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Passes a resource update to a proxied server.
|
protected com.sun.jersey.api.client.ClientResponse |
EurekaClinicalClient.doPutForProxy(String path,
String contents,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers)
Passes a resource update to a proxied server.
|
protected void |
EurekaClinicalClient.errorIfStatusEqualTo(com.sun.jersey.api.client.ClientResponse response,
com.sun.jersey.api.client.ClientResponse.Status... status)
If there is an unexpected status code, this method gets the status
message, closes the response, and throws an exception.
|
protected void |
EurekaClinicalClient.errorIfStatusNotEqualTo(com.sun.jersey.api.client.ClientResponse response,
com.sun.jersey.api.client.ClientResponse.Status... status)
If there is an unexpected status code, it gets the status message, closes
the response, and throws an exception.
|
User |
AuthorizingEurekaClinicalClient.getMe() |
Role |
AuthorizingEurekaClinicalClient.getRole(Long inRoleId) |
Role |
AuthorizingEurekaClinicalClient.getRoleByName(String name) |
List<Role> |
AuthorizingEurekaClinicalClient.getRoles() |
User |
AuthorizingEurekaClinicalClient.getUserById(Long inUserId) |
List<? extends User> |
AuthorizingEurekaClinicalClient.getUsers() |
ProxyResponse |
ProxyingClient.proxyDelete(String path,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
ProxyResponse |
ProxyingClient.proxyGet(String path,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
ProxyResponse |
ProxyingClient.proxyPost(String path,
InputStream inputStream,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
ProxyResponse |
ProxyingClient.proxyPut(String path,
InputStream inputStream,
javax.ws.rs.core.MultivaluedMap<String,String> parameterMap,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
Copyright © 2016–2018 Emory University. All rights reserved.