public class CallContextImpl extends Object implements MutableCallContext, Serializable
CallContext interface.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 |
|---|
CallContextImpl(String binding,
CmisVersion cmisVersion,
String repositoryId,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CmisServiceFactory factory,
TempStoreOutputStreamFactory streamFactory) |
| 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() |
void |
put(String key,
Object value) |
Object |
remove(String key) |
void |
setAcceptLanguage(String acceptLanguageHeader) |
void |
setRange(String rangeHeader) |
public CallContextImpl(String binding, CmisVersion cmisVersion, String repositoryId, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmisServiceFactory factory, TempStoreOutputStreamFactory streamFactory)
public void setRange(String rangeHeader)
public void setAcceptLanguage(String acceptLanguageHeader)
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 CallContextpublic final void put(String key, Object value)
put in interface MutableCallContextpublic final Object remove(String key)
remove in interface MutableCallContextCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.