Class HttpConnectionDescription
- java.lang.Object
-
- net.anwiba.commons.datasource.connection.AbstractConnectionDescription
-
- net.anwiba.commons.datasource.connection.AbstractHttpConnectionDescription
-
- net.anwiba.commons.datasource.connection.HttpConnectionDescription
-
- All Implemented Interfaces:
java.io.Serializable,IConnectionDescription,IHttpConnectionDescription,IResourceReferenceConnectionDescription
public class HttpConnectionDescription extends AbstractHttpConnectionDescription implements IResourceReferenceConnectionDescription
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpConnectionDescription(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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpConnectionDescriptionadapt(IAuthentication authentication)java.lang.StringgetFormat()IResourceReferencegetResourceReference()static IHttpConnectionDescriptionof(java.net.URI uri)static IHttpConnectionDescriptionof(java.net.URL uri)java.lang.StringtoString()-
Methods inherited from class net.anwiba.commons.datasource.connection.AbstractHttpConnectionDescription
createHashCode, equals, getAuthentication, getHost, getParameters, getPassword, getPath, getPort, getURI, getUrl, getUrlString, getUserName, hashCode, isSslEnabled, toString
-
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, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.datasource.connection.IConnectionDescription
getAuthentication, getDataSourceType, getURI, getUrl, getVersion
-
-
-
-
Constructor Detail
-
HttpConnectionDescription
public HttpConnectionDescription(java.lang.String host, int port, java.lang.String path, java.lang.String userName, java.lang.String password, IParameters parameters, boolean sslEnabled)
-
-
Method Detail
-
adapt
public HttpConnectionDescription adapt(IAuthentication authentication)
- Specified by:
adaptin interfaceIConnectionDescription- Specified by:
adaptin interfaceIHttpConnectionDescription- Specified by:
adaptin interfaceIResourceReferenceConnectionDescription
-
getResourceReference
public IResourceReference getResourceReference()
- Specified by:
getResourceReferencein interfaceIResourceReferenceConnectionDescription- Overrides:
getResourceReferencein classAbstractHttpConnectionDescription
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfaceIConnectionDescription
-
of
public static IHttpConnectionDescription of(java.net.URI uri)
-
of
public static IHttpConnectionDescription of(java.net.URL uri)
-
-