org.apache.chemistry.opencmis.server.impl
Class CallContextImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.CallContextImpl
All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CallContext

public class CallContextImpl
extends Object
implements org.apache.chemistry.opencmis.commons.server.CallContext

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, 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
 
Constructor Summary
CallContextImpl(String binding, String repositoryId, boolean objectInfoRequired)
           
 
Method Summary
 Object get(String key)
           
 String getBinding()
           
 BigInteger getLength()
           
 String getLocale()
           
 int getMemoryThreshold()
           
 BigInteger getOffset()
           
 String getPassword()
           
 String getRepositoryId()
           
 File getTempDirectory()
           
 String getUsername()
           
 boolean isObjectInfoRequired()
           
 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

CallContextImpl

public CallContextImpl(String binding,
                       String repositoryId,
                       boolean objectInfoRequired)
Method Detail

getBinding

public String getBinding()
Specified by:
getBinding in interface org.apache.chemistry.opencmis.commons.server.CallContext

isObjectInfoRequired

public boolean isObjectInfoRequired()
Specified by:
isObjectInfoRequired in interface org.apache.chemistry.opencmis.commons.server.CallContext

get

public Object get(String key)
Specified by:
get in interface org.apache.chemistry.opencmis.commons.server.CallContext

getRepositoryId

public String getRepositoryId()
Specified by:
getRepositoryId in interface org.apache.chemistry.opencmis.commons.server.CallContext

getUsername

public String getUsername()
Specified by:
getUsername in interface org.apache.chemistry.opencmis.commons.server.CallContext

getPassword

public String getPassword()
Specified by:
getPassword in interface org.apache.chemistry.opencmis.commons.server.CallContext

getLocale

public String getLocale()
Specified by:
getLocale in interface org.apache.chemistry.opencmis.commons.server.CallContext

getOffset

public BigInteger getOffset()
Specified by:
getOffset in interface org.apache.chemistry.opencmis.commons.server.CallContext

getLength

public BigInteger getLength()
Specified by:
getLength in interface org.apache.chemistry.opencmis.commons.server.CallContext

getTempDirectory

public File getTempDirectory()
Specified by:
getTempDirectory in interface org.apache.chemistry.opencmis.commons.server.CallContext

getMemoryThreshold

public int getMemoryThreshold()
Specified by:
getMemoryThreshold in interface org.apache.chemistry.opencmis.commons.server.CallContext

put

public void put(String key,
                Object value)
Adds a parameter.


remove

public Object remove(String key)
Removes a parameter.



Copyright © 2014 Mairie de Paris. All Rights Reserved.