|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.server.impl.CallContextImpl
public class CallContextImpl
Implementation of the CallContext
interface.
Field Summary |
---|
Fields inherited from interface org.apache.chemistry.opencmis.commons.server.CallContext |
---|
BINDING_ATOMPUB, BINDING_BROWSER, BINDING_LOCAL, BINDING_WEBSERVICES, LENGTH, LOCALE, LOCALE_ISO3166_COUNTRY, LOCALE_ISO639_LANGUAGE, OFFSET, PASSWORD, REPOSITORY_ID, SERVLET_CONTEXT, USERNAME |
Constructor Summary | |
---|---|
CallContextImpl(String binding,
String repositoryId,
boolean objectInfoRequired)
|
Method Summary | |
---|---|
Object |
get(String key)
Returns context data by key. |
String |
getBinding()
Returns the binding. |
BigInteger |
getLength()
Returns the content length if set, null otherwise |
String |
getLocale()
Returns the locale. |
BigInteger |
getOffset()
Returns the content offset if set, null otherwise |
String |
getPassword()
Returns the password. |
String |
getRepositoryId()
Returns the repository id. |
String |
getUsername()
Returns the user name. |
boolean |
isObjectInfoRequired()
Returns if true object infos can improve the performance. |
void |
put(String key,
Object value)
Adds a parameter. |
Object |
remove(String key)
Removes a parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallContextImpl(String binding, String repositoryId, boolean objectInfoRequired)
Method Detail |
---|
public String getBinding()
CallContext
CallContext.BINDING_ATOMPUB
,
CallContext.BINDING_WEBSERVICES
,
CallContext.BINDING_BROWSER
or CallContext.BINDING_LOCAL
.
getBinding
in interface CallContext
public boolean isObjectInfoRequired()
CallContext
true
object infos can improve the performance.
isObjectInfoRequired
in interface CallContext
public Object get(String key)
CallContext
get
in interface CallContext
key
- the key
null
otherwisepublic String getRepositoryId()
CallContext
getRepositoryId
in interface CallContext
public String getUsername()
CallContext
getUsername
in interface CallContext
public String getPassword()
CallContext
getPassword
in interface CallContext
public String getLocale()
CallContext
getLocale
in interface CallContext
public BigInteger getOffset()
CallContext
null
otherwise
getOffset
in interface CallContext
public BigInteger getLength()
CallContext
null
otherwise
getLength
in interface CallContext
public void put(String key, Object value)
public Object remove(String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |