public class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CTYPE_AUTOMATION |
static String |
CTYPE_ENTITY |
static String |
CTYPE_MULTIPART_MIXED |
static String |
CTYPE_MULTIPART_RELATED |
static String |
CTYPE_REQUEST |
static String |
CTYPE_REQUEST_NOCHARSET |
static String |
HEADER_NX_SCHEMAS
Header to specify a comma separated list of schemas to be included in the returned doc.
|
static String |
HEADER_NX_VOIDOP
Header to inform the server that no return entity is wanted.
|
static String |
KEY_ENTITY_TYPE |
static String |
REQUEST_ACCEPT_HEADER |
public static final String CTYPE_AUTOMATION
public static final String CTYPE_ENTITY
public static final String CTYPE_MULTIPART_RELATED
public static final String CTYPE_MULTIPART_MIXED
public static final String REQUEST_ACCEPT_HEADER
public static final String CTYPE_REQUEST
public static final String CTYPE_REQUEST_NOCHARSET
public static final String KEY_ENTITY_TYPE
public static final String HEADER_NX_SCHEMAS
If the header is not specified, the default properties are returned (the minimal document properties: common,
dublincore, file). To specify all the schemas you can use the *
as value. Example:
X-NXDocumentProperties: * X-NXDocumentProperties: dublincore, file
public static final String HEADER_NX_VOIDOP
true
or false
.
If not specified, false will be used by default.
This can be used to avoid the server sending back the response entity to the client - the operation will be treated as a void operation.
For example the operation Blob.Attach
returns back the attached blob. This may generate a lot of
network traffic that is not needed by the client (sending back the same blob as the one sent by the client as the
operation input). In such situation you should set this header to true.
Copyright © 2015 Nuxeo SA. All rights reserved.