com.jalios.jcms.rest
Class JcmsRestStatusService

java.lang.Object
  extended by org.restlet.service.StatusService
      extended by com.jalios.jcms.rest.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

Constructor Summary
JcmsRestStatusService(boolean enabled)
           
 
Method Summary
 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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.