public class CommandRequest extends Object implements RequestEntity
| Modifier and Type | Field and Description |
|---|---|
private Command |
c
Defines the command type.
|
private String |
key
Defines the document identifier used to unambiguously identify the document file.
|
private Meta |
meta
Defines the new meta information of the document.
|
private String |
token
Defines the encrypted signature added to the Document Server config in the form of a token.
|
private String |
userdata
Defines some custom identifier which will help distinguish the specific request
in case there were more than one.
|
private List<String> |
users
Defines the list of the user identifiers.
|
| Constructor and Description |
|---|
CommandRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken()
Returns a token from the command request.
|
void |
setToken(String tn)
Adds a token to the command request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyprivate Command c
private String key
private String userdata
private Meta meta
private String token
public String getToken()
getToken in interface RequestEntitypublic void setToken(String tn)
setToken in interface RequestEntitytn - The token.Copyright © 2023–2024. All rights reserved.