nl.hippo.client.webdav
Class WebdavConfig
java.lang.Object
nl.hippo.client.webdav.AbstractWebdavConfig
nl.hippo.client.webdav.WebdavConfig
- All Implemented Interfaces:
- Serializable
public final class WebdavConfig
- extends AbstractWebdavConfig
Configuration class, each implementation
of WebdavMethod has one constructor with a WebdavConfig as parameter.
Implemented as a Value Object which means that:
-
The identity of an instance is solely based on it's property values:
instances with equal values are interchangable.
-
Instances are threadsafe over multiple threads running concurrently,
and may be used multiple times in a given session.
- See Also:
- Serialized Form
| Fields inherited from class nl.hippo.client.webdav.AbstractWebdavConfig |
WEBDAV_CONTEXTROOT, WEBDAV_FILESPATH, WEBDAV_HOST, WEBDAV_LOGLABEL, WEBDAV_NAMESPACE, WEBDAV_PASSWORD, WEBDAV_PORT, WEBDAV_PROTOCOL, WEBDAV_REALM, WEBDAV_SEARCHNOACL, WEBDAV_USERNAME |
| Methods inherited from class nl.hippo.client.webdav.AbstractWebdavConfig |
getBasePath, getContextRoot, getFilespath, getHost, getLoglabel, getNamespace, getPassword, getPort, getProtocol, getRealm, getSearchNoACL, getUsername, save |
WebdavConfig
public WebdavConfig(InputStream stream)
throws ClientException
- Read configuration from an InputStream on a properties file.
- Parameters:
stream - An InputStream on a properties file.
- Throws:
ClientException - if something went wrong.
WebdavConfig
public WebdavConfig(Properties config)
- Read configuration from a Properties object
WebdavConfig
public WebdavConfig(WebdavConfigFactory config)
- Read property values from a WebdavConfigFactory instance
- Parameters:
config - a WebdavConfigFactory instance- See Also:
WebdavConfigFactory
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2006-2009 Hippo. All Rights Reserved.