public class MutableCallContextWrapper extends Object implements MutableCallContext
MutableCallContext
interface that can be subclassed by developers wishing to change, add, or
hide call context data.
If the provided CallContext object implements the
MutableCallContext interface, all get(String),
put(String, Object), and remove(String) calls are forwarded
to this call context object. If this CallContext object does not
implement the MutableCallContext interface, the key-value pairs are
stored here and hide the values of the provided CallContext object.
That is, the first MutableCallContext object in the chain of
MutableCallContextWrapper objects manages the data.BINDING_ATOMPUB, BINDING_BROWSER, BINDING_LOCAL, BINDING_WEBSERVICES, CMIS_VERSION, ENCRYPT_TEMP_FILE, HTTP_SERVLET_REQUEST, HTTP_SERVLET_RESPONSE, LENGTH, LOCALE, LOCALE_ISO3166_COUNTRY, LOCALE_ISO639_LANGUAGE, MAX_CONTENT_SIZE, MEMORY_THRESHOLD, OFFSET, PASSWORD, REPOSITORY_ID, SERVLET_CONTEXT, STREAM_FACTORY, TEMP_DIR, USERNAME| Constructor and Description |
|---|
MutableCallContextWrapper(CallContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encryptTempFiles() |
Object |
get(String key) |
String |
getBinding() |
CmisVersion |
getCmisVersion() |
BigInteger |
getLength() |
String |
getLocale() |
long |
getMaxContentSize() |
int |
getMemoryThreshold() |
BigInteger |
getOffset() |
String |
getPassword() |
String |
getRepositoryId() |
File |
getTempDirectory() |
String |
getUsername() |
boolean |
isObjectInfoRequired() |
void |
put(String key,
Object value) |
Object |
remove(String key) |
public MutableCallContextWrapper(CallContext context)
public Object get(String key)
get in interface CallContextpublic void put(String key, Object value)
put in interface MutableCallContextpublic Object remove(String key)
remove in interface MutableCallContextpublic String getBinding()
getBinding in interface CallContextpublic boolean isObjectInfoRequired()
isObjectInfoRequired in interface CallContextpublic CmisVersion getCmisVersion()
getCmisVersion in interface CallContextpublic String getRepositoryId()
getRepositoryId in interface CallContextpublic String getUsername()
getUsername in interface CallContextpublic String getPassword()
getPassword in interface CallContextpublic String getLocale()
getLocale in interface CallContextpublic BigInteger getOffset()
getOffset in interface CallContextpublic BigInteger getLength()
getLength in interface CallContextpublic File getTempDirectory()
getTempDirectory in interface CallContextpublic boolean encryptTempFiles()
encryptTempFiles in interface CallContextpublic int getMemoryThreshold()
getMemoryThreshold in interface CallContextpublic long getMaxContentSize()
getMaxContentSize in interface CallContextCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.