Resource class implementing /queues path methods and acting as /queues/{name} sub-resource locator to QueueResource.
More...
Resource class implementing /queues path methods and acting as /queues/{name} sub-resource locator to QueueResource.
- Author
- horia
- Version
- Revision:
- 1.0
ro.allevo.fintpws.resources.QueuesResource.QueuesResource |
( |
UriInfo |
uriInfo, |
|
|
EntityManager |
entityManagerConfig, |
|
|
EntityManager |
entityManagerData |
|
) |
| |
|
inline |
Creates a new instance of QueuesResource.
- Parameters
-
uriInfo | UriInfo |
entityManagerConfig | EntityManager |
entityManagerData | EntityManager |
JSONObject ro.allevo.fintpws.resources.QueuesResource.asJson |
( |
| ) |
throws JSONException |
|
inline |
Returns the resource formatted as json.
- Returns
- JSONObject *
- Exceptions
-
QueueResource ro.allevo.fintpws.resources.QueuesResource.getQueue |
( |
@PathParam("name") String |
queueName | ) |
|
|
inline |
Returns a queue sub-resource named queueName.
- Parameters
-
queueName | String Name of the queue as last element in the path |
- Returns
- QueueResource The queue sub-resource
JSONObject ro.allevo.fintpws.resources.QueuesResource.getQueuesAsJson |
( |
| ) |
|
|
inline |
GET method : returns an application/json formatted list of queues.
- Returns
- JSONObject The list of queues
Response ro.allevo.fintpws.resources.QueuesResource.postForm |
( |
JSONObject |
jsonEntity | ) |
|
|
inline |
POST method : creates a queue.
- Parameters
-
jsonEntity | JSONObject The queue to be created |
- Returns
- Response The URI of the newly created queue *
- Exceptions
-
JSONException | * |
JSONException | |
EntityManager ro.allevo.fintpws.resources.QueuesResource.entityManagerConfig |
|
private |
Field entityManagerConfig.
EntityManager ro.allevo.fintpws.resources.QueuesResource.entityManagerData |
|
private |
Logger ro.allevo.fintpws.resources.QueuesResource.logger |
|
staticprivate |
Initial value:
Field logger.
The documentation for this class was generated from the following file: