public class R_OSGiWSID extends R_OSGiID
Modifier and Type | Field and Description |
---|---|
static int |
HTTP_PORT |
static int |
HTTPS_PORT |
Constructor and Description |
---|
R_OSGiWSID(boolean secure,
String hostname,
int port) |
Modifier and Type | Method and Description |
---|---|
ch.ethz.iks.r_osgi.URI |
getURI()
get the internal URI.
|
protected int |
namespaceCompareTo(BaseID id)
compare in the context of the namespace.
|
protected boolean |
namespaceEquals(BaseID id)
check for equality in the context of the namespace.
|
protected String |
namespaceGetName()
get the name.
|
protected int |
namespaceHashCode()
get the hash code.
|
String |
toExternalForm()
Get this ID instance in String form.
|
String |
toString()
get a string representation.
|
compareTo, equals, getAdapter, getName, getNamespace, hashCode, namespaceToExternalForm
public static final int HTTPS_PORT
public static final int HTTP_PORT
public R_OSGiWSID(boolean secure, String hostname, int port)
protected int namespaceCompareTo(BaseID id)
namespaceCompareTo
in class R_OSGiID
id
- another BaseID
to compare to.BaseID.namespaceCompareTo(org.eclipse.ecf.core.identity.BaseID)
protected boolean namespaceEquals(BaseID id)
namespaceEquals
in class R_OSGiID
id
- another BaseID
to check with.true
iff the two IDs are equal within the given
namespace.BaseID.namespaceEquals(org.eclipse.ecf.core.identity.BaseID)
public ch.ethz.iks.r_osgi.URI getURI()
protected String namespaceGetName()
namespaceGetName
in class R_OSGiID
protected int namespaceHashCode()
namespaceHashCode
in class R_OSGiID
public String toString()
toString
in interface Principal
toString
in class R_OSGiID
Object.toString()
public String toExternalForm()
ID
toExternalForm
in interface ID
toExternalForm
in class R_OSGiID
ID.toExternalForm()
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.