Class AbstractHttpConnectionDescription
- java.lang.Object
-
- net.anwiba.commons.datasource.connection.AbstractConnectionDescription
-
- net.anwiba.commons.datasource.connection.AbstractHttpConnectionDescription
-
- All Implemented Interfaces:
java.io.Serializable,IConnectionDescription,IHttpConnectionDescription,IResourceReferenceConnectionDescription
- Direct Known Subclasses:
HttpConnectionDescription
public abstract class AbstractHttpConnectionDescription extends AbstractConnectionDescription implements IHttpConnectionDescription
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractHttpConnectionDescription(java.lang.String host, int port, java.lang.String path, java.lang.String userName, java.lang.String password, IParameters parameters, boolean sslEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcreateHashCode()booleanequals(java.lang.Object obj)IAuthenticationgetAuthentication()java.lang.StringgetHost()IParametersgetParameters()java.lang.StringgetPassword()java.lang.StringgetPath()intgetPort()IResourceReferencegetResourceReference()java.net.URIgetURI()java.lang.StringgetUrl()java.lang.StringgetUrlString()java.lang.StringgetUserName()inthashCode()booleanisSslEnabled()java.lang.StringtoString(java.lang.String name)-
Methods inherited from class net.anwiba.commons.datasource.connection.AbstractConnectionDescription
getDataSourceType, getVersion, setVersion
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.datasource.connection.IConnectionDescription
getDataSourceType, getFormat, getVersion
-
Methods inherited from interface net.anwiba.commons.datasource.connection.IHttpConnectionDescription
adapt
-
-
-
-
Constructor Detail
-
AbstractHttpConnectionDescription
public AbstractHttpConnectionDescription(java.lang.String host, int port, java.lang.String path, java.lang.String userName, java.lang.String password, IParameters parameters, boolean sslEnabled)
-
-
Method Detail
-
getHost
public java.lang.String getHost()
- Specified by:
getHostin interfaceIHttpConnectionDescription
-
getPath
public java.lang.String getPath()
- Specified by:
getPathin interfaceIHttpConnectionDescription
-
getPassword
public java.lang.String getPassword()
- Specified by:
getPasswordin interfaceIHttpConnectionDescription
-
getPort
public int getPort()
- Specified by:
getPortin interfaceIHttpConnectionDescription
-
getUserName
public java.lang.String getUserName()
- Specified by:
getUserNamein interfaceIHttpConnectionDescription
-
getParameters
public IParameters getParameters()
- Specified by:
getParametersin interfaceIHttpConnectionDescription
-
getResourceReference
public IResourceReference getResourceReference()
- Specified by:
getResourceReferencein interfaceIResourceReferenceConnectionDescription
-
getURI
public java.net.URI getURI()
- Specified by:
getURIin interfaceIConnectionDescription
-
getUrl
public java.lang.String getUrl()
- Specified by:
getUrlin interfaceIConnectionDescription
-
getUrlString
public java.lang.String getUrlString()
- Specified by:
getUrlStringin interfaceIHttpConnectionDescription
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
createHashCode
protected int createHashCode()
-
getAuthentication
public IAuthentication getAuthentication()
- Specified by:
getAuthenticationin interfaceIConnectionDescription
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
isSslEnabled
public boolean isSslEnabled()
- Specified by:
isSslEnabledin interfaceIHttpConnectionDescription
-
toString
public java.lang.String toString(java.lang.String name)
-
-