public interface CallContext
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_ATOMPUB |
static String |
BINDING_BROWSER |
static String |
BINDING_LOCAL |
static String |
BINDING_WEBSERVICES |
static String |
HTTP_SERVLET_REQUEST |
static String |
HTTP_SERVLET_RESPONSE |
static String |
LENGTH |
static String |
LOCALE |
static String |
LOCALE_ISO3166_COUNTRY |
static String |
LOCALE_ISO639_LANGUAGE |
static String |
MAX_CONTENT_SIZE |
static String |
MEMORY_THRESHOLD |
static String |
OFFSET |
static String |
PASSWORD |
static String |
REPOSITORY_ID |
static String |
SERVLET_CONTEXT |
static String |
TEMP_DIR |
static String |
USERNAME |
Modifier and Type | Method and Description |
---|---|
Object |
get(String key)
Returns context data by key.
|
String |
getBinding()
Returns the binding.
|
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 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
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
otherwiseString getRepositoryId()
String getUsername()
String getPassword()
String getLocale()
BigInteger getOffset()
null
otherwiseBigInteger getLength()
null
otherwiseFile getTempDirectory()
int getMemoryThreshold()
long getMaxContentSize()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.