@Path(value="/")
public interface M3BatchHandler
Modifier and Type | Interface and Description |
---|---|
static class |
M3BatchHandler.Entity |
static class |
M3BatchHandler.M3Argument |
static class |
M3BatchHandler.M3BatchResponse |
static class |
M3BatchHandler.M3Request |
static class |
M3BatchHandler.Operation |
Modifier and Type | Method and Description |
---|---|
M3BatchHandler.M3BatchResponse |
m3Batch(String uid,
String intention,
String packetId,
M3BatchHandler.M3Request[] requests,
boolean isPrivileged)
Process a batch request.
|
M3BatchHandler.M3BatchResponse |
m3BatchGet(String intention,
String packetId,
String requests)
Jersey REST method for GET with three query parameters.
|
M3BatchHandler.M3BatchResponse |
m3BatchGetPrivileged(String uid,
String intention,
String packetId,
String requests)
Jersey REST method for GET with three query parameters with privileged rights.
|
M3BatchHandler.M3BatchResponse |
m3BatchPost(String intention,
String packetId,
String requests)
Jersey REST method for POST with three form parameters.
|
M3BatchHandler.M3BatchResponse |
m3BatchPostPrivileged(String uid,
String intention,
String packetId,
String requests)
Jersey REST method for POST with three form parameters with privileged rights.
|
M3BatchHandler.M3BatchResponse m3Batch(String uid, String intention, String packetId, M3BatchHandler.M3Request[] requests, boolean isPrivileged)
uid
- user id, JSONP relevantintention
- JSONP relevantpacketId
- response relevant, may be nullrequests
- batch requestisPrivileged
- true, if the access is privileged@Path(value="m3Batch") @POST @Consumes(value="application/x-www-form-urlencoded") M3BatchHandler.M3BatchResponse m3BatchPost(@FormParam(value="intention") String intention, @FormParam(value="packet-id") String packetId, @FormParam(value="requests") String requests)
intention
- JSONP relevantpacketId
- requests
- JSON string of the batch request@Path(value="m3BatchPrivileged") @POST @Consumes(value="application/x-www-form-urlencoded") M3BatchHandler.M3BatchResponse m3BatchPostPrivileged(@FormParam(value="uid") String uid, @FormParam(value="intention") String intention, @FormParam(value="packet-id") String packetId, @FormParam(value="requests") String requests)
uid
- user id, JSONP relevantintention
- JSONP relevantpacketId
- requests
- JSON string of the batch request@Path(value="m3Batch") @GET M3BatchHandler.M3BatchResponse m3BatchGet(@QueryParam(value="intention") String intention, @QueryParam(value="packet-id") String packetId, @QueryParam(value="requests") String requests)
intention
- JSONP relevantpacketId
- requests
- JSON string of the batch request@Path(value="m3BatchPrivileged") @GET M3BatchHandler.M3BatchResponse m3BatchGetPrivileged(@QueryParam(value="uid") String uid, @QueryParam(value="intention") String intention, @QueryParam(value="packet-id") String packetId, @QueryParam(value="requests") String requests)
uid
- user id, JSONP relevantintention
- JSONP relevantpacketId
- requests
- JSON string of the batch requestCopyright © 2010–2015. All rights reserved.