Handles status requests for REST operations.
Extends: RestOperations
Description
The StatusOperations class allows you to handle status requests for REST operations.
Instance methods
getStatusOperation
Gets the status of the operation.
public
Function<ContainerRequestContext, Response> getStatusOperation()
- returns: Function<ContainerRequestContext, Response> - status operation method
setReferences
Sets references to dependent components.
public
void setReferences(IReferences references) throws ReferenceException, ConfigException
- references: IReferences - references to locate the component dependencies.
status
Handles status requests.
public
Response status(ContainerRequestContext req)
- req: ContainerRequestContext - an HTTP request
- returns: Response - response