public class ActivitiStatusService
extends org.restlet.service.StatusService
StatusService, translating dedicated ActivitiException's into HTTP-response
codes.| Modifier and Type | Field and Description |
|---|---|
protected static String |
NEWLINE_REPLACE_REGEX |
| Constructor and Description |
|---|
ActivitiStatusService() |
| Modifier and Type | Method and Description |
|---|---|
org.restlet.representation.Representation |
getRepresentation(org.restlet.data.Status status,
org.restlet.Request request,
org.restlet.Response response)
Overriding this method to return a JSON-object representing the error that occurred instead of
the default HTML body Restlet provides.
|
protected String |
getSafeStatusName(String name) |
protected org.restlet.data.Status |
getSpecificStatus(Throwable throwable,
org.restlet.Request request,
org.restlet.Response response) |
org.restlet.data.Status |
getStatus(Throwable throwable,
org.restlet.Request request,
org.restlet.Response response) |
createInboundFilter, getContactEmail, getHomeRef, getStatus, isOverwriting, setContactEmail, setHomeRef, setOverwritingprotected static final String NEWLINE_REPLACE_REGEX
public org.restlet.representation.Representation getRepresentation(org.restlet.data.Status status,
org.restlet.Request request,
org.restlet.Response response)
getRepresentation in class org.restlet.service.StatusServicepublic org.restlet.data.Status getStatus(Throwable throwable, org.restlet.Request request, org.restlet.Response response)
getStatus in class org.restlet.service.StatusServiceprotected org.restlet.data.Status getSpecificStatus(Throwable throwable, org.restlet.Request request, org.restlet.Response response)
Copyright © 2014 Alfresco. All rights reserved.