Package org.nuxeo.wopi.rest
Class WOPIRoot
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
- Since:
- 10.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.ws.rs.core.HttpHeaders
protected jakarta.servlet.http.HttpServletRequest
protected static final String
-
Constructor Summary
Constructors -
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:
-
request
@Context protected jakarta.servlet.http.HttpServletRequest request -
httpHeaders
@Context protected jakarta.ws.rs.core.HttpHeaders httpHeaders
-
-
Constructor Details
-
WOPIRoot
public WOPIRoot()
-
-
Method Details
-
filesResource
-
prefixThreadName
-
verifyProofKey
protected void verifyProofKey() -
getDocument
-
getBlob
-