Package org.nuxeo.wopi.jaxrs
Class WOPIRoot
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
- Since:
- 10.3
-
Field Summary
Modifier and TypeFieldDescriptionprotected javax.ws.rs.core.HttpHeaders
protected static final String
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
request, sic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfilesResource
(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
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 Details
-
THREAD_NAME_PREFIX
- See Also:
-
httpHeaders
@Context protected javax.ws.rs.core.HttpHeaders httpHeaders
-
-
Constructor Details
-
WOPIRoot
public WOPIRoot()
-
-
Method Details
-
filesResource
-
prefixThreadName
-
verifyProofKey
protected void verifyProofKey() -
getDocument
-
getBlob
-