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.HttpHeadershttpHeadersprotected static StringTHREAD_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 ObjectfilesResource(FileInfo fileInfo)protected BlobgetBlob(DocumentModel doc, String xpath)protected DocumentModelgetDocument(CoreSession session, String fileId)protected voidprefixThreadName()protected voidverifyProofKey()-
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
-
-
Constructor Detail
-
WOPIRoot
public WOPIRoot()
-
-
Method Detail
-
filesResource
public Object filesResource(FileInfo fileInfo)
-
prefixThreadName
protected void prefixThreadName()
-
verifyProofKey
protected void verifyProofKey()
-
getDocument
protected DocumentModel getDocument(CoreSession session, String fileId)
-
getBlob
protected Blob getBlob(DocumentModel doc, String xpath)
-
-