org.sapia.ubik.rmi.server.transport.http.servlet
Class ServletAddress

java.lang.Object
  extended by org.sapia.ubik.net.TCPAddress
      extended by org.sapia.ubik.rmi.server.transport.http.HttpAddress
          extended by org.sapia.ubik.rmi.server.transport.http.servlet.ServletAddress
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, ServerAddress

public class ServletAddress
extends HttpAddress

Models the network address of a servlet.

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

Field Summary
 
Fields inherited from class org.sapia.ubik.net.TCPAddress
_transportType, TRANSPORT_TYPE
 
Constructor Summary
  ServletAddress()
          Do not call; used for externalization only.
  ServletAddress(java.lang.String servletUrl)
          Creates an instance of this class with the given parameter.
protected ServletAddress(java.lang.String transportType, java.lang.String servletUrl)
          Intended to be overridden by eventual subclasses.
 
Method Summary
 
Methods inherited from class org.sapia.ubik.rmi.server.transport.http.HttpAddress
readExternal, toString, writeExternal
 
Methods inherited from class org.sapia.ubik.net.TCPAddress
equals, getHost, getPort, getTransportType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletAddress

public ServletAddress()
Do not call; used for externalization only.


ServletAddress

public ServletAddress(java.lang.String servletUrl)
               throws UriSyntaxException
Creates an instance of this class with the given parameter.

Parameters:
servletUrl - the URL of the servlet to connect to.
Throws:
UriSyntaxException - if the URL could not be internally parsed.

ServletAddress

protected ServletAddress(java.lang.String transportType,
                         java.lang.String servletUrl)
                  throws UriSyntaxException
Intended to be overridden by eventual subclasses.

Throws:
UriSyntaxException


Copyright © 2010 Sapia OSS. All Rights Reserved.