public class FQDNUrl extends Object
Constructor and Description |
---|
FQDNUrl(String strURL)
Constructs a fully qualified domain name URL object.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Returns host.
|
String |
getPort()
Returns port number.
|
String |
getProtocol()
Returns protocol.
|
String |
getURI()
Returns deployment descriptor.
|
URL |
getURL()
Returns URL object.
|
boolean |
isFullyQualified()
Returns
true if host name is fully qualified. |
boolean |
isValid()
Returns
true if URL is valid. |
public FQDNUrl(String strURL) throws MalformedURLException
strURL
- String representation of the URL.MalformedURLException
- if the URL is malformed or its
host name is not fully qualified.public boolean isValid()
true
if URL is valid.true
if URL is valid.public boolean isFullyQualified()
true
if host name is fully qualified.true
if host name is fully qualified.public URL getURL()
public String getURI()
public String getProtocol()
public String getHost()
public String getPort()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.