Class OAuth2StatusService


  • public class OAuth2StatusService
    extends org.restlet.service.StatusService
    Handles generic Restlet exceptions.
    Since:
    11.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • 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
      • Methods inherited from class org.restlet.service.Service

        createOutboundFilter, getContext, isEnabled, isStarted, isStopped, setContext, setEnabled, start, stop
    • Constructor Detail

      • OAuth2StatusService

        public OAuth2StatusService()
    • 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:
        getRepresentation in class org.restlet.service.StatusService
        Parameters:
        status -
        request -
        response -
        Returns: