Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client
Class Constants

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.Constants

public class Constants
extends Object

Author:
Bogdan Stefanescu

Field Summary
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
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CTYPE_AUTOMATION

public static final String CTYPE_AUTOMATION
See Also:
Constant Field Values

CTYPE_ENTITY

public static final String CTYPE_ENTITY
See Also:
Constant Field Values

CTYPE_MULTIPART_RELATED

public static final String CTYPE_MULTIPART_RELATED
See Also:
Constant Field Values

CTYPE_MULTIPART_MIXED

public static final String CTYPE_MULTIPART_MIXED
See Also:
Constant Field Values

REQUEST_ACCEPT_HEADER

public static final String REQUEST_ACCEPT_HEADER
See Also:
Constant Field Values

CTYPE_REQUEST

public static final String CTYPE_REQUEST
See Also:
Constant Field Values

CTYPE_REQUEST_NOCHARSET

public static final String CTYPE_REQUEST_NOCHARSET
See Also:
Constant Field Values

KEY_ENTITY_TYPE

public static final String KEY_ENTITY_TYPE
See Also:
Constant Field Values

HEADER_NX_SCHEMAS

public static final String HEADER_NX_SCHEMAS
Header to specify a comma separated list of schemas to be included in the returned doc.

If the header is not specified, the default properties are returned (the minimal document properties). To specify all the schemas you can use the * as value. Example:

 X-NXDocumentProperties: *
 X-NXDocumentProperties: dublincore, file
 

See Also:
Constant Field Values

HEADER_NX_VOIDOP

public static final String HEADER_NX_VOIDOP
Header to inform the server that no return entity is wanted. It must be 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.

See Also:
Constant Field Values

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.