org.sapia.ubik.rmi.server.transport.http
Class HttpAddress
java.lang.Object
org.sapia.ubik.net.TCPAddress
org.sapia.ubik.rmi.server.transport.http.HttpAddress
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, ServerAddress
- Direct Known Subclasses:
- ServletAddress
public class HttpAddress
- extends TCPAddress
Models an HTTP address.
- Author:
- Yanick Duchesne
- Copyright:
- Copyright © 2002-2004 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
- See Also:
- Serialized Form
|
Method Summary |
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
Returns the string corresponding to this address' URL (of the form http://someHost:somePort). |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
HttpAddress
public HttpAddress()
- Do not call; used for externalization only.
HttpAddress
public HttpAddress(Uri uri)
HttpAddress
protected HttpAddress(java.lang.String transportType,
Uri uri)
toString
public java.lang.String toString()
- Returns the string corresponding to this address' URL (of the form http://someHost:somePort).
- Overrides:
toString in class TCPAddress
- Returns:
- a
String.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable- Overrides:
readExternal in class TCPAddress
- Throws:
java.io.IOException
java.lang.ClassNotFoundException- See Also:
TCPAddress.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable- Overrides:
writeExternal in class TCPAddress
- Throws:
java.io.IOException- See Also:
TCPAddress.writeExternal(java.io.ObjectOutput)
Copyright © 2010 Sapia OSS. All Rights Reserved.