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.CallContext
public java.lang.Object get(java.lang.String attr)
get
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.get(java.lang.String)
public java.lang.String getBinding()
getBinding
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getBinding()
public org.apache.chemistry.opencmis.commons.enums.CmisVersion getCmisVersion()
getCmisVersion
in interface org.apache.chemistry.opencmis.commons.server.CallContext
public java.math.BigInteger getLength()
getLength
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getLength()
public java.lang.String getLocale()
getLocale
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getLocale()
public long getMaxContentSize()
getMaxContentSize
in interface org.apache.chemistry.opencmis.commons.server.CallContext
public int getMemoryThreshold()
getMemoryThreshold
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getMemoryThreshold()
public org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler getObjectInfoHandler()
public java.math.BigInteger getOffset()
getOffset
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getOffset()
public java.lang.String getPassword()
getPassword
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getPassword()
public java.lang.String getRepositoryId()
getRepositoryId
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getRepositoryId()
public java.io.File getTempDirectory()
getTempDirectory
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getTempDirectory()
public java.lang.String getUsername()
getUsername
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getUsername()
public boolean isObjectInfoRequired()
isObjectInfoRequired
in interface org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.isObjectInfoRequired()