com.mps.deepviolet.api.ImmutableDVHost Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of DeepViolet Show documentation
Show all versions of DeepViolet Show documentation
TLS/SSL security introspection API
The newest version!
package com.mps.deepviolet.api;
import java.net.URL;
/**
* Implementation of IDVhost
* @author Milton Smith
*
*/
class ImmutableDVHost implements IDVHost {
private String hostname;
private String ipaddress;
private String cannonicalname;
private URL url;
/* (non-Javadoc)
*/
ImmutableDVHost( String hostname, String ipaddress, String cannonicalname, URL url ) {
this.hostname = hostname;
this.ipaddress = ipaddress;
this.cannonicalname = cannonicalname;
this.url = url;
}
/* (non-Javadoc)
*/
public String getHostName() {
return hostname;
}
/* (non-Javadoc)
*/
public String getHostIPAddress() {
return ipaddress;
}
/* (non-Javadoc)
*/
public String getHostCannonicalName() {
return cannonicalname;
}
/* (non-Javadoc)
*/
public URL getURL() {
return url;
}
}