Class DebugResource
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.automation.server.jaxrs.debug.DebugResource
-
public class DebugResource extends AbstractResource<ResourceTypeImpl>
- Author:
- Bogdan Stefanescu
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
next, path, prev, type
-
-
Constructor Summary
Constructors Constructor Description DebugResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
doChainIdPost(String input, String chainId)
Object
doGet()
Object
doGetJSON()
Object
doGetStudioDoc()
Object
doGetText()
javax.ws.rs.core.Response
doPost(String input, String chainXml)
protected DocumentRef
getDocumentRef(String ref)
AutomationService
getOperationService()
String
getOperationsListAsJson()
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Constructor Detail
-
DebugResource
public DebugResource()
-
-
Method Detail
-
getOperationService
public AutomationService getOperationService()
-
getOperationsListAsJson
public String getOperationsListAsJson() throws OperationException, IOException
- Throws:
OperationException
IOException
-
doGetText
public Object doGetText() throws OperationException, IOException
- Throws:
OperationException
IOException
-
doGetStudioDoc
public Object doGetStudioDoc() throws OperationException, IOException
- Throws:
OperationException
IOException
- Since:
- 5.9.1
-
doGetJSON
public Object doGetJSON() throws OperationException, IOException
- Throws:
OperationException
IOException
-
doChainIdPost
public javax.ws.rs.core.Response doChainIdPost(String input, String chainId)
-
getDocumentRef
protected DocumentRef getDocumentRef(String ref)
-
-