public class CmisBindingFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_SPI_ATOMPUB
Default CMIS AtomPub binding SPI implementation.
|
static String |
BINDING_SPI_BROWSER
Default CMIS Browser binding SPI implementation.
|
static String |
BINDING_SPI_LOCAL
Default CMIS local binding SPI implementation.
|
static String |
BINDING_SPI_WEBSERVICES
Default CMIS Web Services binding SPI implementation.
|
static String |
DEFAULT_HTTP_INVOKER
Default HTTP invoker class
|
static String |
DEFAULT_TYPE_DEFINITION_CACHE_CLASS
Default type definition cache class
|
static String |
NTLM_AUTHENTICATION_PROVIDER
NTLM authentication provider class.
|
static String |
STANDARD_AUTHENTICATION_PROVIDER
Standard authentication provider class.
|
Constructor and Description |
---|
CmisBindingFactory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CmisBinding |
createCmisAtomPubBinding(Map<String,String> sessionParameters)
Creates a default CMIS AtomPub binding instance.
|
CmisBinding |
createCmisAtomPubBinding(Map<String,String> sessionParameters,
AuthenticationProvider authenticationProvider,
org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
Creates a default CMIS AtomPub binding instance with a custom
authentication provider.
|
CmisBinding |
createCmisBinding(Map<String,String> sessionParameters)
Creates a CMIS binding instance.
|
CmisBinding |
createCmisBinding(Map<String,String> sessionParameters,
AuthenticationProvider authenticationProvider,
org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
Creates a CMIS binding instance.
|
CmisBinding |
createCmisBrowserBinding(Map<String,String> sessionParameters)
Creates a default CMIS Browser binding instance.
|
CmisBinding |
createCmisBrowserBinding(Map<String,String> sessionParameters,
AuthenticationProvider authenticationProvider,
org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
Creates a default CMIS Browser binding instance with a custom
authentication provider.
|
CmisBinding |
createCmisLocalBinding(Map<String,String> sessionParameters)
Creates a default CMIS local binding instance.
|
CmisBinding |
createCmisLocalBinding(Map<String,String> sessionParameters,
org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
Creates a default CMIS local binding instance.
|
CmisBinding |
createCmisWebServicesBinding(Map<String,String> sessionParameters)
Creates a default CMIS Web Services binding instance.
|
CmisBinding |
createCmisWebServicesBinding(Map<String,String> sessionParameters,
AuthenticationProvider authenticationProvider,
org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
Creates a default CMIS Web Services binding instance with a custom
authentication provider.
|
Map<String,String> |
getDefaultSessionParameters()
Returns the default session parameters.
|
static CmisBindingFactory |
newInstance()
Creates a new factory instance.
|
void |
setDefaultSessionParameters(Map<String,String> sessionParameters)
Sets the default session parameters.
|
public static final String BINDING_SPI_ATOMPUB
public static final String BINDING_SPI_WEBSERVICES
public static final String BINDING_SPI_BROWSER
public static final String BINDING_SPI_LOCAL
public static final String DEFAULT_TYPE_DEFINITION_CACHE_CLASS
public static final String DEFAULT_HTTP_INVOKER
public static final String STANDARD_AUTHENTICATION_PROVIDER
public static final String NTLM_AUTHENTICATION_PROVIDER
public static CmisBindingFactory newInstance()
public Map<String,String> getDefaultSessionParameters()
public void setDefaultSessionParameters(Map<String,String> sessionParameters)
sessionParameters
- the session parameterspublic CmisBinding createCmisBinding(Map<String,String> sessionParameters)
sessionParameters
- the session parameterspublic CmisBinding createCmisBinding(Map<String,String> sessionParameters, AuthenticationProvider authenticationProvider, org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
sessionParameters
- the session parameterspublic CmisBinding createCmisAtomPubBinding(Map<String,String> sessionParameters)
sessionParameters
- the session parameterspublic CmisBinding createCmisAtomPubBinding(Map<String,String> sessionParameters, AuthenticationProvider authenticationProvider, org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
sessionParameters
- the session parameterspublic CmisBinding createCmisWebServicesBinding(Map<String,String> sessionParameters)
sessionParameters
- the session parameterspublic CmisBinding createCmisWebServicesBinding(Map<String,String> sessionParameters, AuthenticationProvider authenticationProvider, org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
sessionParameters
- the session parameterspublic CmisBinding createCmisBrowserBinding(Map<String,String> sessionParameters)
sessionParameters
- the session parameterspublic CmisBinding createCmisBrowserBinding(Map<String,String> sessionParameters, AuthenticationProvider authenticationProvider, org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
sessionParameters
- the session parameterspublic CmisBinding createCmisLocalBinding(Map<String,String> sessionParameters)
sessionParameters
- the session parameterspublic CmisBinding createCmisLocalBinding(Map<String,String> sessionParameters, org.apache.chemistry.opencmis.client.bindings.cache.TypeDefinitionCache typeDefCache)
sessionParameters
- the session parametersCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.