public interface CallContext
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_ATOMPUB
Binding: AtomPub
|
static String |
BINDING_BROWSER
Binding: Browser
|
static String |
BINDING_LOCAL
Binding: Local
|
static String |
BINDING_WEBSERVICES
Binding: Web Services
|
static String |
CMIS_VERSION
Key: CMIS version (value is a CmisVersion)
|
static String |
ENCRYPT_TEMP_FILE
Key: encrypt temp files (values is a Boolean)
|
static String |
HTTP_SERVLET_REQUEST
Key: servlet request (value is a HttpServletRequest)
|
static String |
HTTP_SERVLET_RESPONSE
Key: servlet response (value is a HttpServletResponse)
|
static String |
LENGTH
Key: length (value is a BigInteger)
|
static String |
LOCALE
Key: local
|
static String |
LOCALE_ISO3166_COUNTRY |
static String |
LOCALE_ISO639_LANGUAGE |
static String |
MAX_CONTENT_SIZE
Key: max content size (values is a Long)
|
static String |
MEMORY_THRESHOLD
Key: memory threshold (values is an Integer)
|
static String |
OFFSET
Key: offset (value is a BigInteger)
|
static String |
PASSWORD
Key: password
|
static String |
REPOSITORY_ID
Key: repository id
|
static String |
SERVLET_CONTEXT
Key: servlet context (value is a ServletContext)
|
static String |
STREAM_FACTORY
Key: factory for threshold streams (value is a TempStoreOutputStreamFactory)
|
static String |
TEMP_DIR
Key: temp directory
|
static String |
USERNAME
Key: username
|
Modifier and Type | Method and Description |
---|---|
boolean |
encryptTempFiles()
Returns if temp files should be encrypted.
|
Object |
get(String key)
Returns context data by key.
|
String |
getBinding()
Returns the binding.
|
CmisVersion |
getCmisVersion()
Returns the CMIS version.
|
BigInteger |
getLength()
Returns the content length if set,
null otherwise |
String |
getLocale()
Returns the locale.
|
long |
getMaxContentSize()
Returns the may size of content.
|
int |
getMemoryThreshold()
Returns the memory threshold.
|
BigInteger |
getOffset()
Returns the content offset if set,
null otherwise |
String |
getPassword()
Returns the password.
|
String |
getRepositoryId()
Returns the repository id.
|
File |
getTempDirectory()
Returns the temp directory.
|
String |
getUsername()
Returns the user name.
|
boolean |
isObjectInfoRequired()
Returns if
true object infos can improve the performance. |
static final String BINDING_ATOMPUB
static final String BINDING_WEBSERVICES
static final String BINDING_BROWSER
static final String BINDING_LOCAL
static final String CMIS_VERSION
static final String REPOSITORY_ID
static final String USERNAME
static final String PASSWORD
static final String LOCALE
static final String OFFSET
static final String LENGTH
static final String LOCALE_ISO639_LANGUAGE
static final String LOCALE_ISO3166_COUNTRY
static final String SERVLET_CONTEXT
static final String HTTP_SERVLET_REQUEST
static final String HTTP_SERVLET_RESPONSE
static final String TEMP_DIR
static final String MEMORY_THRESHOLD
static final String MAX_CONTENT_SIZE
static final String ENCRYPT_TEMP_FILE
static final String STREAM_FACTORY
String getBinding()
BINDING_ATOMPUB
,
BINDING_WEBSERVICES
,
BINDING_BROWSER
or BINDING_LOCAL
.boolean isObjectInfoRequired()
true
object infos can improve the performance.Object get(String key)
key
- the keynull
otherwiseCmisVersion getCmisVersion()
String getRepositoryId()
String getUsername()
String getPassword()
String getLocale()
BigInteger getOffset()
null
otherwiseBigInteger getLength()
null
otherwiseFile getTempDirectory()
boolean encryptTempFiles()
int getMemoryThreshold()
long getMaxContentSize()
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.