Class RestStatusService
- java.lang.Object
-
- org.restlet.service.Service
-
- org.restlet.service.StatusService
-
- org.forgerock.openam.rest.service.RestStatusService
-
- Direct Known Subclasses:
JSONRestStatusService
public abstract class RestStatusService extends org.restlet.service.StatusServiceService to handle error statuses. If an exception is thrown then the status is pulled from the response and the matching Json Resource exception is created and sent back to the client. This keeps the authenticate REST endpoint in line with the CREST resource exceptions.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description RestStatusService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.restlet.representation.RepresentationrepresentMap(Map<String,Object> map)org.restlet.representation.RepresentationtoRepresentation(org.restlet.data.Status status, org.restlet.Request request, org.restlet.Response response)-
Methods inherited from class org.restlet.service.StatusService
createInboundFilter, getConnegService, getContactEmail, getConverterService, getHomeRef, getMetadataService, getRepresentation, getStatus, getStatus, isOverwriting, setConnegService, setContactEmail, setConverterService, setHomeRef, setMetadataService, setOverwriting, toRepresentation, toStatus, toStatus
-
-