Package org.silverpeas.cmis
Class CmisRequestContext
- java.lang.Object
-
- org.silverpeas.core.web.rs.SilverpeasRequestContext
-
- org.silverpeas.cmis.CmisRequestContext
-
- All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CallContext
public class CmisRequestContext extends SilverpeasRequestContext implements org.apache.chemistry.opencmis.commons.server.CallContext
The context of a request targeting a CMIS service in Silverpeas.- Author:
- mmoquillon
-
-
Field Summary
-
Fields inherited from interface 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 Summary
Constructors Constructor Description CmisRequestContext(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
encryptTempFiles()
Object
get(String key)
String
getBinding()
org.apache.chemistry.opencmis.commons.enums.CmisVersion
getCmisVersion()
BigInteger
getLength()
String
getLocale()
long
getMaxContentSize()
int
getMemoryThreshold()
BigInteger
getOffset()
String
getPassword()
String
getRepositoryId()
CmisRequest
getRequest()
File
getTempDirectory()
String
getUsername()
boolean
isObjectInfoRequired()
-
Methods inherited from class org.silverpeas.core.web.rs.SilverpeasRequestContext
getResponse, getUser, init, setUser
-
-
-
-
Method Detail
-
getRequest
public CmisRequest getRequest()
- Overrides:
getRequest
in classSilverpeasRequestContext
-
getBinding
public String getBinding()
- Specified by:
getBinding
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
isObjectInfoRequired
public boolean isObjectInfoRequired()
- Specified by:
isObjectInfoRequired
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
get
public Object get(String key)
- Specified by:
get
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getCmisVersion
public org.apache.chemistry.opencmis.commons.enums.CmisVersion getCmisVersion()
- Specified by:
getCmisVersion
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getRepositoryId
public String getRepositoryId()
- Specified by:
getRepositoryId
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getLocale
public String getLocale()
- Specified by:
getLocale
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getOffset
public BigInteger getOffset()
- Specified by:
getOffset
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getLength
public BigInteger getLength()
- Specified by:
getLength
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getTempDirectory
public File getTempDirectory()
- Specified by:
getTempDirectory
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
encryptTempFiles
public boolean encryptTempFiles()
- Specified by:
encryptTempFiles
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getMemoryThreshold
public int getMemoryThreshold()
- Specified by:
getMemoryThreshold
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
getMaxContentSize
public long getMaxContentSize()
- Specified by:
getMaxContentSize
in interfaceorg.apache.chemistry.opencmis.commons.server.CallContext
-
-