Package org.nuxeo.wopi.jaxrs
Class WOPIRoot
-
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
public class WOPIRoot extends ModuleRoot
- Since:
- 10.3
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.ws.rs.core.HttpHeaders
httpHeaders
protected static String
THREAD_NAME_PREFIX
-
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
request, sic
-
-
Constructor Summary
Constructors Constructor Description WOPIRoot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
filesResource(FileInfo fileInfo)
protected Blob
getBlob(DocumentModel doc, String xpath)
protected DocumentModel
getDocument(CoreSession session, String fileId)
protected <T> T
prefixThreadName(Supplier<T> supplier)
protected void
verifyProofKey()
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
getLink, getSkinResource, handleError, setContext
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
-
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, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
-
-
-
Field Detail
-
THREAD_NAME_PREFIX
protected static final String THREAD_NAME_PREFIX
- See Also:
- Constant Field Values
-
httpHeaders
@Context protected javax.ws.rs.core.HttpHeaders httpHeaders
-
-
Method Detail
-
prefixThreadName
protected <T> T prefixThreadName(Supplier<T> supplier)
-
verifyProofKey
protected void verifyProofKey()
-
getDocument
protected DocumentModel getDocument(CoreSession session, String fileId)
-
getBlob
protected Blob getBlob(DocumentModel doc, String xpath)
-
-