public final class ServiceURL extends ServiceDesignation
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceURL.Builder
A builder for service URLs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Determine whether this service URL is equal to the given object.
|
boolean |
equals(ServiceDesignation other)
Determine whether this service URL is equal to the given object.
|
boolean |
equals(ServiceURL other)
Determine whether this service URL is equal to the given object.
|
String |
getAbstractType()
Get the abstract type, if any.
|
String |
getAbstractTypeAuthority()
Get the abstract type authority, if any.
|
String |
getHostName()
Get the host name of the concrete URI.
|
URI |
getLocationURI()
Get the concrete location URI of this service URL.
|
String |
getPath()
Get the path name of the concrete URI, if any.
|
int |
getPort()
Get the port number of the concrete URI, if any.
|
ServiceType |
getServiceType()
Get the service type of this URL.
|
String |
getUriScheme()
Get the concrete URI scheme.
|
String |
getUriSchemeAuthority()
Get the concrete URI scheme authority, if any.
|
String |
getUserName()
Get the user name of the concrete URI, if any.
|
int |
hashCode()
Get the hash code of this service URL.
|
boolean |
implies(ServiceDesignation other)
Determine if this service URL implies the other service designation.
|
boolean |
implies(ServiceURL other)
Determine if this service URL implies the other service URL.
|
boolean |
satisfies(FilterSpec filterSpec)
Determine whether this service URL satisfies the given filter specification.
|
URI |
toServiceURI()
Convert this service URL into a URI whose contents are exactly equal to this object's.
|
String |
toString()
Get the string representation of this service URL.
|
public boolean satisfies(FilterSpec filterSpec)
filterSpec - the filter specificationtrue if this service satisfies the filter specification, false if it does notpublic boolean implies(ServiceURL other)
other - the other service URLtrue if they are equal, false otherwisepublic boolean implies(ServiceDesignation other)
implies in class ServiceDesignationother - the other service designationtrue if they are equal service URLs, false otherwisepublic boolean equals(ServiceURL other)
other - the other objecttrue if they are equal, false otherwisepublic boolean equals(ServiceDesignation other)
equals in class ServiceDesignationother - the other objecttrue if they are equal, false otherwisepublic boolean equals(Object other)
equals in class ServiceDesignationother - the other objecttrue if they are equal, false otherwisepublic int hashCode()
hashCode in class ServiceDesignationpublic String toString()
toString in class ServiceDesignationpublic URI toServiceURI() throws URISyntaxException
null)URISyntaxException - if there was some syntactical problem in the URI being constructedpublic URI getLocationURI()
null)public ServiceType getServiceType()
null)public String getAbstractType()
null if no abstract type is setpublic String getAbstractTypeAuthority()
null if no abstract type authority is setpublic String getUriScheme()
null)public String getUriSchemeAuthority()
null if none is setpublic String getUserName()
null if none is setpublic String getHostName()
null)public int getPort()
public String getPath()
null if none is setCopyright © 2016 JBoss by Red Hat. All rights reserved.