Package org.forgerock.oauth2.restlet
Class OAuth2StatusService
- java.lang.Object
-
- org.restlet.service.Service
-
- org.restlet.service.StatusService
-
- org.forgerock.oauth2.restlet.OAuth2StatusService
-
public class OAuth2StatusService extends org.restlet.service.StatusServiceHandles generic Restlet exceptions.- Since:
- 11.0.0
-
-
Constructor Summary
Constructors Constructor Description OAuth2StatusService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.restlet.representation.RepresentationgetRepresentation(org.restlet.data.Status status, org.restlet.Request request, org.restlet.Response response)Takes the status reason and description and creates a Json representation of them.-
Methods inherited from class org.restlet.service.StatusService
createInboundFilter, getConnegService, getContactEmail, getConverterService, getHomeRef, getMetadataService, getStatus, getStatus, isOverwriting, setConnegService, setContactEmail, setConverterService, setHomeRef, setMetadataService, setOverwriting, toRepresentation, toRepresentation, toStatus, toStatus
-
-
-
-
Method Detail
-
getRepresentation
public org.restlet.representation.Representation getRepresentation(org.restlet.data.Status status, org.restlet.Request request, org.restlet.Response response)Takes the status reason and description and creates a Json representation of them.- Overrides:
getRepresentationin classorg.restlet.service.StatusService- Parameters:
status-request-response-- Returns:
-
-