public class CmsCmisCallContext extends java.lang.Object implements org.apache.chemistry.opencmis.commons.server.CallContext
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 |
|---|
CmsCmisCallContext(org.apache.chemistry.opencmis.commons.server.CallContext originalContext,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
encryptTempFiles() |
java.lang.Object |
get(java.lang.String attr) |
java.lang.String |
getBinding() |
org.apache.chemistry.opencmis.commons.enums.CmisVersion |
getCmisVersion() |
java.math.BigInteger |
getLength() |
java.lang.String |
getLocale() |
long |
getMaxContentSize() |
int |
getMemoryThreshold() |
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler |
getObjectInfoHandler()
The object info handler to use.
|
java.math.BigInteger |
getOffset() |
java.lang.String |
getPassword() |
java.lang.String |
getRepositoryId() |
java.io.File |
getTempDirectory() |
java.lang.String |
getUsername() |
boolean |
isObjectInfoRequired() |
public CmsCmisCallContext(org.apache.chemistry.opencmis.commons.server.CallContext originalContext, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo)
originalContext - the context to wrapobjectInfo - the object info handler to usepublic boolean encryptTempFiles()
encryptTempFiles in interface org.apache.chemistry.opencmis.commons.server.CallContextpublic java.lang.Object get(java.lang.String attr)
get in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.get(java.lang.String)public java.lang.String getBinding()
getBinding in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getBinding()public org.apache.chemistry.opencmis.commons.enums.CmisVersion getCmisVersion()
getCmisVersion in interface org.apache.chemistry.opencmis.commons.server.CallContextpublic java.math.BigInteger getLength()
getLength in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getLength()public java.lang.String getLocale()
getLocale in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getLocale()public long getMaxContentSize()
getMaxContentSize in interface org.apache.chemistry.opencmis.commons.server.CallContextpublic int getMemoryThreshold()
getMemoryThreshold in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getMemoryThreshold()public org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler getObjectInfoHandler()
public java.math.BigInteger getOffset()
getOffset in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getOffset()public java.lang.String getPassword()
getPassword in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getPassword()public java.lang.String getRepositoryId()
getRepositoryId in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getRepositoryId()public java.io.File getTempDirectory()
getTempDirectory in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getTempDirectory()public java.lang.String getUsername()
getUsername in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.getUsername()public boolean isObjectInfoRequired()
isObjectInfoRequired in interface org.apache.chemistry.opencmis.commons.server.CallContextCallContext.isObjectInfoRequired()