Class Overview
Extract components of an "iiop" or "iiopname" URL.
The format of an iiopname URL is defined in INS 98-10-11 as follows:
iiopname url = "iiopname://" [addr_list]["/" string_name]
addr_list = [address ","]* address
address = [version host [":" port]]
host = DNS style host name | IP address
version = major "." minor "@" | empty_string
port = number
major = number
minor = number
string_name = stringified name | empty_string
The default port is 9999. The default version is "1.0"
US-ASCII alphanumeric characters are not escaped. Any characters outside
of this range are escaped except for the following:
; / : ? : @ & = + $ , - _ . ! ~ * ' ( )
Escaped characters is escaped by using a % followed by its 2 hexadecimal
numbers representing the octet.
For backward compatibility, the "iiop" URL as defined in INS 97-6-6
is also supported:
iiop url = "iiop://" [host [":" port]] ["/" string_name]
The default port is 900.
Summary
Nested Classes |
class |
IiopUrl.Address |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Public Constructors
Public Methods
public
Name
getCosName
()
public
String
getStringName
()
Returns a possibly empty but non-null string that is the "string_name"
portion of the URL.