public interface CallbackService
| Modifier and Type | Method and Description |
|---|---|
void |
handlerClosed(Callback callback,
String fileId)
Starts the handler that is called if the callback status is 4 (CLOSED).
|
void |
handlerEditing(Callback callback,
String fileId)
Starts the handler that is called if the callback status is 1 (EDITING).
|
void |
handlerForcesave(Callback callback,
String fileId)
Starts the handler that is called if the callback status is 6 (FORCESAVE).
|
void |
handlerForcesaveCurrupted(Callback callback,
String fileId)
Starts the handler that is called if the callback status is 7 (FORCESAVE_CORRUPTED).
|
void |
handlerSave(Callback callback,
String fileId)
Starts the handler that is called if the callback status is 2 (SAVE).
|
void |
handlerSaveCorrupted(Callback callback,
String fileId)
Starts the handler that is called if the callback status is 3 (SAVE_CORRUPTED).
|
void |
processCallback(Callback callback,
String fileId)
Starts the callback handler.
|
Callback |
verifyCallback(Callback callback,
String authorizationHeader)
Verifies the
Callback object. |
Callback verifyCallback(Callback callback, String authorizationHeader) throws com.fasterxml.jackson.core.JsonProcessingException
Callback object.callback - The Callback object with the callback handler parameters.authorizationHeader - The authorization header from the callback request.com.fasterxml.jackson.core.JsonProcessingException - An error occurred when processing the JSON data.void processCallback(Callback callback, String fileId) throws Exception
void handlerEditing(Callback callback, String fileId) throws Exception
void handlerSave(Callback callback, String fileId) throws Exception
void handlerSaveCorrupted(Callback callback, String fileId) throws Exception
void handlerClosed(Callback callback, String fileId) throws Exception
void handlerForcesave(Callback callback, String fileId) throws Exception
Copyright © 2023–2024. All rights reserved.