A request to test the systems handling of the clients requests and the clients handling of the systems responses.
More...
|
| TestRequest (int magicNumber, String message) |
| Create a test request. More...
|
|
int | getMagicNumber () |
|
String | getMessage () |
|
|
static UserRole | getRequiredPermissionLevel () |
|
static AbstractRequest | deserialize (String json) throws APIException |
|
static UserRole | requiredPermissionLevel = UserRole.ADMINISTRATOR |
|
A request to test the systems handling of the clients requests and the clients handling of the systems responses.
- Author
- Felix Wiemuth
unicopa.copa.base.com.request.TestRequest.TestRequest |
( |
int |
magicNumber, |
|
|
String |
message |
|
) |
| |
Create a test request.
- Parameters
-
magicNumber | depending on special numbers sent, the system will send exceptions or normal answers (0=InternalErrorException, 0-or-less=PermissionException, 42=RequestNotPracticableException, 400=InternalErrorException because of null) |
message | the message to be sent to the system (the response will include it somehow); if message="Who am I?" the system will response with the user ID of the authenticated user |
The documentation for this class was generated from the following file:
- CopaServer/parent/src/main/java/unicopa/copa/base/com/request/TestRequest.java