Index
All Classes|All Packages
C
- Code() - Constructor for class io.getlime.core.rest.model.base.entity.Error.Code
E
- Error - Class in io.getlime.core.rest.model.base.entity
-
Transport object for RESTful API representing an error instance.
- Error() - Constructor for class io.getlime.core.rest.model.base.entity.Error
-
Default public no parameter constructor.
- Error(String, String) - Constructor for class io.getlime.core.rest.model.base.entity.Error
-
Constructor accepting code and message.
- ERROR - Static variable in class io.getlime.core.rest.model.base.response.Response.Status
-
In case an error response is sent.
- ERROR_GENERIC - Static variable in class io.getlime.core.rest.model.base.entity.Error.Code
-
Generic error occurred.
- Error.Code - Class in io.getlime.core.rest.model.base.entity
-
List of defined error code constants.
- Error.Message - Class in io.getlime.core.rest.model.base.entity
-
List of defined message constants.
- ErrorResponse - Class in io.getlime.core.rest.model.base.response
-
Class representing an error response.
- ErrorResponse() - Constructor for class io.getlime.core.rest.model.base.response.ErrorResponse
-
Default constructor.
- ErrorResponse(String, String) - Constructor for class io.getlime.core.rest.model.base.response.ErrorResponse
-
Create a new error response with response object with provided code and error message.
- ErrorResponse(String, Throwable) - Constructor for class io.getlime.core.rest.model.base.response.ErrorResponse
-
Create a new error response with response object with provided code and throwable, that is a source for the error message (t.getMessage()).
- ErrorResponse(Error) - Constructor for class io.getlime.core.rest.model.base.response.ErrorResponse
-
Create an error response with provided error as a response object.
G
- getCode() - Method in class io.getlime.core.rest.model.base.entity.Error
-
Get error code.
- getMessage() - Method in class io.getlime.core.rest.model.base.entity.Error
-
Get error message.
- getRequestObject() - Method in class io.getlime.core.rest.model.base.request.ObjectRequest
-
Get request object.
- getResponseObject() - Method in class io.getlime.core.rest.model.base.response.ObjectResponse
-
Get response object.
- getStatus() - Method in class io.getlime.core.rest.model.base.response.ObjectResponse
-
Get response status.
- getStatus() - Method in class io.getlime.core.rest.model.base.response.Response
-
Get response status.
I
- io.getlime.core.rest.model.base.entity - package io.getlime.core.rest.model.base.entity
- io.getlime.core.rest.model.base.request - package io.getlime.core.rest.model.base.request
- io.getlime.core.rest.model.base.response - package io.getlime.core.rest.model.base.response
M
- Message() - Constructor for class io.getlime.core.rest.model.base.entity.Error.Message
O
- ObjectRequest<T> - Class in io.getlime.core.rest.model.base.request
-
Simple class representing a request with an object.
- ObjectRequest() - Constructor for class io.getlime.core.rest.model.base.request.ObjectRequest
-
Default constructor.
- ObjectRequest(T) - Constructor for class io.getlime.core.rest.model.base.request.ObjectRequest
-
Constructor with a given request object.
- ObjectResponse<T> - Class in io.getlime.core.rest.model.base.response
-
Generic response with status and object object of a custom class.
- ObjectResponse() - Constructor for class io.getlime.core.rest.model.base.response.ObjectResponse
-
Default constructor
- ObjectResponse(String, T) - Constructor for class io.getlime.core.rest.model.base.response.ObjectResponse
-
Constructor with response status and response object
- ObjectResponse(T) - Constructor for class io.getlime.core.rest.model.base.response.ObjectResponse
-
Constructor with OK response status and response object
- OK - Static variable in class io.getlime.core.rest.model.base.response.Response.Status
-
In case response was OK.
R
- Response - Class in io.getlime.core.rest.model.base.response
-
Simple status only response object.
- Response() - Constructor for class io.getlime.core.rest.model.base.response.Response
-
Default constructor.
- Response(String) - Constructor for class io.getlime.core.rest.model.base.response.Response
-
Constructor with response status and response object
- Response.Status - Class in io.getlime.core.rest.model.base.response
-
Response status string.
S
- setCode(String) - Method in class io.getlime.core.rest.model.base.entity.Error
-
Set error code.
- setMessage(String) - Method in class io.getlime.core.rest.model.base.entity.Error
-
Set error message.
- setRequestObject(T) - Method in class io.getlime.core.rest.model.base.request.ObjectRequest
-
Set request object.
- setResponseObject(T) - Method in class io.getlime.core.rest.model.base.response.ObjectResponse
-
Set response object.
- setStatus(String) - Method in class io.getlime.core.rest.model.base.response.ObjectResponse
-
Set response status.
- setStatus(String) - Method in class io.getlime.core.rest.model.base.response.Response
-
Set response status.
- status - Variable in class io.getlime.core.rest.model.base.response.Response
-
Response status.
- Status() - Constructor for class io.getlime.core.rest.model.base.response.Response.Status
U
- UNKNOWN_ERROR - Static variable in class io.getlime.core.rest.model.base.entity.Error.Message
-
Unknown error.
All Classes|All Packages