public class CmsCmisCallContext
extends java.lang.Object
implements org.apache.chemistry.opencmis.commons.server.CallContext
BINDING_ATOMPUB, BINDING_BROWSER, BINDING_LOCAL, BINDING_WEBSERVICES, HTTP_SERVLET_REQUEST, HTTP_SERVLET_RESPONSE, LENGTH, LOCALE, LOCALE_ISO3166_COUNTRY, LOCALE_ISO639_LANGUAGE, MEMORY_THRESHOLD, OFFSET, PASSWORD, REPOSITORY_ID, SERVLET_CONTEXT, TEMP_DIR, USERNAME
构造器和说明 |
---|
CmsCmisCallContext(org.apache.chemistry.opencmis.commons.server.CallContext originalContext,
org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
get(java.lang.String attr) |
java.lang.String |
getBinding() |
java.math.BigInteger |
getLength() |
java.lang.String |
getLocale() |
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 java.lang.Object get(java.lang.String attr)
get
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.get(java.lang.String)
public java.lang.String getBinding()
getBinding
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getBinding()
public java.math.BigInteger getLength()
getLength
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getLength()
public java.lang.String getLocale()
getLocale
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getLocale()
public int getMemoryThreshold()
getMemoryThreshold
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getMemoryThreshold()
public org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler getObjectInfoHandler()
public java.math.BigInteger getOffset()
getOffset
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getOffset()
public java.lang.String getPassword()
getPassword
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getPassword()
public java.lang.String getRepositoryId()
getRepositoryId
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getRepositoryId()
public java.io.File getTempDirectory()
getTempDirectory
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getTempDirectory()
public java.lang.String getUsername()
getUsername
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.getUsername()
public boolean isObjectInfoRequired()
isObjectInfoRequired
在接口中 org.apache.chemistry.opencmis.commons.server.CallContext
CallContext.isObjectInfoRequired()