public final class SessionParameter extends Object
Constant | Description | Binding | Value | Required | Default |
---|---|---|---|---|---|
General settings | |||||
BINDING_TYPE |
Defines the binding to use for the session | all | "atompub", "webservices", "browser", "local", "custom" | yes | - |
BINDING_SPI_CLASS |
Binding implementation class | all | class name | Custom binding: yes all other binding: no |
depends on BINDING_TYPE |
REPOSITORY_ID |
Repository ID | all | repository id | SessionFactory.createSession(): yes SessionFactory.getRepositories(): no |
- |
LOCALE_ISO639_LANGUAGE |
Language code sent to server | all | ISO 639 code | no | - |
LOCALE_ISO3166_COUNTRY |
Country code sent to server if language code is set | all | ISO 3166 code | no | - |
OBJECT_FACTORY_CLASS |
Object factory implementation class | all | class name | no | org.apache.chemistry.opencmis.client.runtime.repository.ObjectFactoryImpl |
Authentication settings | |||||
USER |
User name (used by the standard authentication provider) | all | user name | depends on the server | - |
PASSWORD |
Password (used by the standard authentication provider) | all | password | depends on the server | - |
AUTHENTICATION_PROVIDER_CLASS |
Authentication Provider class | AtomPub, Web Services, Browser | class name | no | org.apache.chemistry.opencmis.client.bindings.spi. StandardAuthenticationProvider |
AUTH_HTTP_BASIC |
Switch to turn HTTP basic authentication on or off | AtomPub, Web Services, Browser | "true", "false" | no | depends on BINDING_TYPE |
AUTH_HTTP_BASIC_CHARSET |
Charset to encode HTTP basic authentication username and password | AtomPub, Web Services, Browser | character set name | no | UTF-8 |
AUTH_SOAP_USERNAMETOKEN |
Switch to turn UsernameTokens on or off | Web Services | "true", "false" | no | true |
HTTP and network settings | |||||
HTTP_INVOKER_CLASS |
HTTP invoker class | AtomPub, Web Services, Browser | class name | no | org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker |
COMPRESSION |
Switch to turn HTTP response compression on or off | AtomPub, Web Services, Browser | "true", "false" | no | false |
CLIENT_COMPRESSION |
Switch to turn HTTP request compression on or off | AtomPub, Web Services, Browser | "true", "false" | no | false |
COOKIES |
Switch to turn cookie support on or off | AtomPub, Web Services, Browser | "true", "false" | no | false |
HEADER |
HTTP header | AtomPub, Web Services, Browser | header header | no | - |
PROXY_USER |
Proxy user (used by the standard authentication provider) | AtomPub, Web Services, Browser | user name | no | - |
PROXY_PASSWORD |
Proxy password (used by the standard authentication provider) | AtomPub, Web Services, Browser | password | no | - |
CONNECT_TIMEOUT |
HTTP connect timeout | AtomPub, Web Services, Browser | time in milliseconds | no | JVM default |
READ_TIMEOUT |
HTTP read timeout | AtomPub, Web Services, Browser | time in milliseconds | no | JVM default |
Cache settings | |||||
CACHE_CLASS |
Cache implementation class | all | class name | no | org.apache.chemistry.opencmis.client.runtime.cache.CacheImpl |
TYPE_DEFINITION_CACHE_CLASS |
Type definition cache implementation class | all | class name | no | org.apache.chemistry.opencmis.client.bindings.impl.TypeDefinitionCacheImpl |
CACHE_SIZE_OBJECTS |
Object cache size | all | number of object entries | no | 1000 |
CACHE_TTL_OBJECTS |
Object cache time-to-live | all | time in milliseconds | no | 7200000 (2 hours) |
CACHE_SIZE_PATHTOID |
Path-to-id cache size | all | number of path to object link entries | no | 1000 |
CACHE_TTL_PATHTOID |
Path-to-id cache time-to-live | all | time in milliseconds | no | 180000 (30 minutes) |
CACHE_PATH_OMIT |
Turn off path-to-id cache | all | "true", "false" | no | false |
CACHE_SIZE_REPOSITORIES |
Repository info cache size | all | number of repository info entries | no | 10 |
CACHE_SIZE_TYPES |
Type definition cache size | all | number of type definition entries | no | 100 |
CACHE_SIZE_LINKS |
AtomPub link cache size | AtomPub | number of link entries | no | 400 |
AtomPub Binding settings | |||||
ATOMPUB_URL |
AtomPub service document URL | AtomPub | URL | yes | - |
Web Services Binding settings | |||||
WEBSERVICES_REPOSITORY_SERVICE |
Repository Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_REPOSITORY_SERVICE or
WEBSERVICES_REPOSITORY_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_REPOSITORY_SERVICE_ENDPOINT |
Repository Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_REPOSITORY_SERVICE or
WEBSERVICES_REPOSITORY_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_NAVIGATION_SERVICE |
Navigation Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_NAVIGATION_SERVICE or
WEBSERVICES_NAVIGATION_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_NAVIGATION_SERVICE_ENDPOINT |
Navigation Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_NAVIGATION_SERVICE or
WEBSERVICES_NAVIGATION_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_OBJECT_SERVICE |
Object Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_OBJECT_SERVICE or
WEBSERVICES_OBJECT_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_OBJECT_SERVICE_ENDPOINT |
Object Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_OBJECT_SERVICE or
WEBSERVICES_OBJECT_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_VERSIONING_SERVICE |
Versioning Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_VERSIONING_SERVICE or
WEBSERVICES_VERSIONING_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_VERSIONING_SERVICE_ENDPOINT |
Versioning Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_VERSIONING_SERVICE or
WEBSERVICES_VERSIONING_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_DISCOVERY_SERVICE |
Discovery Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_DISCOVERY_SERVICE or
WEBSERVICES_DISCOVERY_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_DISCOVERY_SERVICE_ENDPOINT |
Discovery Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_DISCOVERY_SERVICE or
WEBSERVICES_DISCOVERY_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_RELATIONSHIP_SERVICE |
Relationship Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_RELATIONSHIP_SERVICE or
WEBSERVICES_RELATIONSHIP_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_RELATIONSHIP_SERVICE_ENDPOINT |
Relationship Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_DISCOVERY_SERVICE or
WEBSERVICES_RELATIONSHIP_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_MULTIFILING_SERVICE |
Multifiling Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_MULTIFILING_SERVICE or
WEBSERVICES_MULTIFILING_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_MULTIFILING_SERVICE_ENDPOINT |
Multifiling Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_MULTIFILING_SERVICE or
WEBSERVICES_MULTIFILING_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_POLICY_SERVICE |
Policy Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_POLICY_SERVICE or
WEBSERVICES_POLICY_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_POLICY_SERVICE_ENDPOINT |
Policy Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_POLICY_SERVICE or
WEBSERVICES_POLICY_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_ACL_SERVICE |
ACL Service WSDL URL | Web Services | WSDL URL | either WEBSERVICES_ACL_SERVICE or
WEBSERVICES_ACL_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_ACL_SERVICE_ENDPOINT |
ACL Service endpoint URL | Web Services | Endpoint URL | either WEBSERVICES_ACL_SERVICE or
WEBSERVICES_ACL_SERVICE_ENDPOINT must be set |
- |
WEBSERVICES_MEMORY_THRESHOLD |
Documents smaller than the threshold are kept in main memory, larger documents are written to a temporary file | Web Services | size in bytes | no | 4194304 (4MB) |
WEBSERVICES_REPSONSE_MEMORY_THRESHOLD |
Web Service responses (XML SOAP parts) smaller than the threshold are kept in main memory, larger responses are written to a temporary file | Web Services | size in bytes | no | (JAX-WS implementation default) |
Browser Binding | |||||
BROWSER_URL |
Browser binding service document URL | Browser | URL | yes | - |
BROWSER_SUCCINCT |
Defines if properties should be sent in the succinct format | Browser | "true", "false" | no | "true" |
Local Binding | |||||
LOCAL_FACTORY |
Class name of the local service factory (if client and server reside in the same JVM) | Local | class name | yes | - |
Workarounds | |||||
INCLUDE_OBJECTID_URL_PARAM_ON_CHECKOUT |
Defines if the object ID should be added to the check out URL (Workaround for SharePoint 2010) |
AtomPub | "true", "false" | no | "false" |
INCLUDE_OBJECTID_URL_PARAM_ON_MOVE |
Defines if the object ID should be added to the move URL (Workaround for SharePoint 2010) |
AtomPub | "true", "false" | no | "false" |
OMIT_CHANGE_TOKENS |
Defines if the change token should be omitted for updating calls (Workaround for SharePoint 2010 and SharePoint 2013) |
all | "true", "false" | no | "false" |
ADD_NAME_ON_CHECK_IN |
Defines if the document name should be added to the properties on check
in if no properties are updated (Workaround for SharePoint 2010 and SharePoint 2013) |
AtomPub | "true", "false" | no | "false" |
public static final String USER
public static final String PASSWORD
public static final String BINDING_TYPE
BindingType
).public static final String BINDING_SPI_CLASS
public static final String FORCE_CMIS_VERSION
public static final String ATOMPUB_URL
public static final String WEBSERVICES_REPOSITORY_SERVICE
public static final String WEBSERVICES_NAVIGATION_SERVICE
public static final String WEBSERVICES_OBJECT_SERVICE
public static final String WEBSERVICES_VERSIONING_SERVICE
public static final String WEBSERVICES_DISCOVERY_SERVICE
public static final String WEBSERVICES_RELATIONSHIP_SERVICE
public static final String WEBSERVICES_MULTIFILING_SERVICE
public static final String WEBSERVICES_POLICY_SERVICE
public static final String WEBSERVICES_ACL_SERVICE
public static final String WEBSERVICES_REPOSITORY_SERVICE_ENDPOINT
public static final String WEBSERVICES_NAVIGATION_SERVICE_ENDPOINT
public static final String WEBSERVICES_OBJECT_SERVICE_ENDPOINT
public static final String WEBSERVICES_VERSIONING_SERVICE_ENDPOINT
public static final String WEBSERVICES_DISCOVERY_SERVICE_ENDPOINT
public static final String WEBSERVICES_RELATIONSHIP_SERVICE_ENDPOINT
public static final String WEBSERVICES_MULTIFILING_SERVICE_ENDPOINT
public static final String WEBSERVICES_POLICY_SERVICE_ENDPOINT
public static final String WEBSERVICES_ACL_SERVICE_ENDPOINT
public static final String WEBSERVICES_MEMORY_THRESHOLD
public static final String WEBSERVICES_REPSONSE_MEMORY_THRESHOLD
public static final String WEBSERVICES_PORT_PROVIDER_CLASS
public static final String WEBSERVICES_JAXWS_IMPL
public static final String BROWSER_URL
public static final String BROWSER_SUCCINCT
public static final String BROWSER_DATETIME_FORMAT
public static final String LOCAL_FACTORY
public static final String AUTHENTICATION_PROVIDER_CLASS
public static final String AUTH_HTTP_BASIC
public static final String AUTH_HTTP_BASIC_CHARSET
public static final String AUTH_OAUTH_BEARER
public static final String AUTH_SOAP_USERNAMETOKEN
public static final String OAUTH_CLIENT_ID
public static final String OAUTH_CLIENT_SECRET
public static final String OAUTH_CODE
public static final String OAUTH_TOKEN_ENDPOINT
public static final String OAUTH_REDIRECT_URI
public static final String OAUTH_ACCESS_TOKEN
public static final String OAUTH_REFRESH_TOKEN
public static final String OAUTH_EXPIRATION_TIMESTAMP
public static final String OAUTH_DEFAULT_TOKEN_LIFETIME
public static final String HTTP_INVOKER_CLASS
public static final String COMPRESSION
public static final String CLIENT_COMPRESSION
public static final String COOKIES
public static final String HEADER
public static final String CONNECT_TIMEOUT
public static final String READ_TIMEOUT
public static final String PROXY_USER
public static final String PROXY_PASSWORD
public static final String CACHE_SIZE_OBJECTS
public static final String CACHE_TTL_OBJECTS
public static final String CACHE_SIZE_PATHTOID
public static final String CACHE_TTL_PATHTOID
public static final String CACHE_PATH_OMIT
public static final String CACHE_SIZE_REPOSITORIES
public static final String CACHE_SIZE_TYPES
public static final String CACHE_SIZE_LINKS
public static final String LOCALE_ISO639_LANGUAGE
public static final String LOCALE_ISO3166_COUNTRY
public static final String LOCALE_VARIANT
public static final String OBJECT_FACTORY_CLASS
public static final String CACHE_CLASS
public static final String TYPE_DEFINITION_CACHE_CLASS
public static final String REPOSITORY_ID
public static final String INCLUDE_OBJECTID_URL_PARAM_ON_CHECKOUT
public static final String INCLUDE_OBJECTID_URL_PARAM_ON_MOVE
public static final String OMIT_CHANGE_TOKENS
public static final String ADD_NAME_ON_CHECK_IN
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.