anvil.server
Class Address

java.lang.Object
  |
  +--anvil.server.Address
All Implemented Interfaces:
java.lang.Comparable

public class Address
extends java.lang.Object
implements java.lang.Comparable

class Address


Constructor Summary
Address(Zone zone, java.lang.String hostname, java.lang.String pathinfo)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 Module forge()
           
 Server getDomain()
           
 java.lang.String getHostname()
           
 java.lang.String getPathinfo()
           
 Server getServer()
           
 Zone getZone()
           
 int hashCode()
           
 Log log()
           
 java.lang.String merge(java.lang.String pathinfo)
           
 Resource openResource()
           
 Resource openResource(Context context)
           
 Address resolve(java.lang.String pathinfo)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address(Zone zone,
               java.lang.String hostname,
               java.lang.String pathinfo)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getServer

public Server getServer()

getHostname

public java.lang.String getHostname()

getDomain

public Server getDomain()

getZone

public Zone getZone()

getPathinfo

public java.lang.String getPathinfo()

openResource

public Resource openResource()
                      throws ContainerException
ContainerException

openResource

public Resource openResource(Context context)
                      throws ContainerException
ContainerException

merge

public java.lang.String merge(java.lang.String pathinfo)

resolve

public Address resolve(java.lang.String pathinfo)
                throws ZoneInactiveException
ZoneInactiveException

forge

public Module forge()
             throws java.io.IOException,
                    ForgingException
java.io.IOException
ForgingException

log

public Log log()