Class JcmsRestStatusService


  • public class JcmsRestStatusService
    extends org.restlet.service.StatusService
    Implementation of StatusServices uses in JCMS Rest OpenAPI. It formats the body entity for errors.
    Since:
    JCMS-6.0
    Author:
    dissert
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.restlet.resource.Representation getRepresentation​(org.restlet.data.Status status, org.restlet.data.Request request, org.restlet.data.Response response)  
      • Methods inherited from class org.restlet.service.StatusService

        getContactEmail, getHomeRef, getStatus, isEnabled, isOverwrite, setContactEmail, setEnabled, setHomeRef, setOverwrite
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JcmsRestStatusService

        public JcmsRestStatusService​(boolean enabled)
    • Method Detail

      • getRepresentation

        public org.restlet.resource.Representation getRepresentation​(org.restlet.data.Status status,
                                                                     org.restlet.data.Request request,
                                                                     org.restlet.data.Response response)
        Overrides:
        getRepresentation in class org.restlet.service.StatusService