Package | Description |
---|---|
es.upv.i3m.grycap.im.rest.client | |
es.upv.i3m.grycap.im.rest.client.parameters |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.client.Invocation.Builder |
ImClient.configureClient(String path,
RestParameter... parameters)
Returns a Rest client configured with the specified properties.
|
<T> T |
ImClient.delete(String path,
Class<T> type,
RestParameter... parameters)
Generic DELETE call.
|
<T> T |
ImClient.get(String path,
Class<T> type,
RestParameter... parameters)
Generic GET call
|
<T> T |
ImClient.post(String path,
Class<T> type,
RestParameter... parameters)
Simplified POST call.
|
<T> T |
ImClient.post(String path,
String bodyContent,
String contentType,
Class<T> type,
RestParameter... parameters)
Generic POST call.
|
<T> T |
ImClient.put(String path,
Class<T> type,
RestParameter... parameters)
Simplified PUT call.
|
<T> T |
ImClient.put(String path,
String bodyContent,
String contentType,
Class<T> type,
RestParameter... parameters)
Generic PUT call.
|
Modifier and Type | Class and Description |
---|---|
class |
NoParameter
Defined to avoid sending null as parameter to the REST call.
|
class |
Parameter
Stores the parameters passed to the REST calls in a (name, ...values)
structure
|
Copyright © 2016. All rights reserved.