no.ntnu.vegare.visualizer.client.connection
Class HttpsConnection
java.lang.Object
no.ntnu.vegare.visualizer.client.connection.HttpsConnection
public class HttpsConnection
- extends java.lang.Object
A model representing a single HTTP or HTTPS connection.
- Author:
- vegare
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpsConnection
public HttpsConnection()
setUrl
public void setUrl(java.lang.String url)
throws java.net.MalformedURLException
Attempt to set the URL and connection type used for this connection.
- Throws:
java.net.MalformedURLException
- Invalid URL or invalid protocol
getUrl
public java.lang.String getUrl()
setUsername
public void setUsername(java.lang.String username)
getUsername
public java.lang.String getUsername()
setPassword
public void setPassword(java.lang.String password)
getPassword
public java.lang.String getPassword()
setConnectionType
public void setConnectionType(ConnectionType connectionType)
getConnectionType
public ConnectionType getConnectionType()
setCertificate
public void setCertificate(java.security.cert.X509Certificate certificate)
getCertificate
public java.security.cert.X509Certificate getCertificate()