public interface WOPIService
Modifier and Type | Method and Description |
---|---|
String |
getActionURL(Blob blob,
String action)
Returns the WOPI action url given a
blob and an action . |
WOPIBlobInfo |
getWOPIBlobInfo(Blob blob)
Returns a
WOPIBlobInfo for the given blob if it is supported by WOPI, null otherwise. |
boolean |
isEnabled()
Returns @{code true} if WOPI is enabled,
false otherwise. |
boolean |
verifyProofKey(String proofKeyHeader,
String oldProofKeyHeader,
String url,
String accessToken,
String timestampHeader)
Verifies that the request originate from Office Online.
|
boolean isEnabled()
false
otherwise.
The WOPI discovery XML file has been loaded.
WOPIBlobInfo getWOPIBlobInfo(Blob blob)
WOPIBlobInfo
for the given blob if it is supported by WOPI, null
otherwise.String getActionURL(Blob blob, String action)
blob
and an action
.Copyright © 2018 Nuxeo. All rights reserved.