public class CallContextWrapper extends Object implements CallContext
CallContext interface that can be
subclassed by developers wishing to change, add, or hide call context data.
This class implements the Wrapper or Decorator pattern. Methods default to
calling through to the wrapped request object.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 |
|---|
CallContextWrapper(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() |
public CallContextWrapper(CallContext context)
public String getBinding()
getBinding in interface CallContextpublic boolean isObjectInfoRequired()
isObjectInfoRequired in interface CallContextpublic Object get(String key)
get 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.