net.dpml.http
Class ServletEntry

java.lang.Object
  extended bynet.dpml.http.ServletEntry

public class ServletEntry
extends Object

A ServletEntry maintains a mapping between a servlet name and a relative path.

Version:
0.0.0
Author:
Digital Product Meta Library

Constructor Summary
ServletEntry(String name, String path)
          Creation of a new servlet name to path entry.
 
Method Summary
 boolean equals(Object other)
          Test is this object is equal to the supplied object.
 String getName()
          Return the servlet name.
 String getPath()
          Return the path.
 int hashCode()
          Return the instance hashcode.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletEntry

public ServletEntry(String name,
                    String path)
Creation of a new servlet name to path entry.

Parameters:
name - the servlet name
path - the context relative path
Method Detail

getName

public String getName()
Return the servlet name.

Returns:
the servlet name

getPath

public String getPath()
Return the path.

Returns:
the servlet path

equals

public boolean equals(Object other)
Test is this object is equal to the supplied object.

Parameters:
other - the object to evaluate this object against
Returns:
tryue if the objects are equal else false

hashCode

public int hashCode()
Return the instance hashcode.

Returns:
the hash value