Class Servlet
- java.lang.Object
-
- org.jboss.arquillian.container.spi.client.protocol.metadata.Servlet
-
public class Servlet extends Object
Servlet- Version:
- $Revision: $
- Author:
- Aslak Knutsen, Ian Brandt
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)URIgetBaseURI()Get the URI to the Servlet's context.StringgetContextRoot()URIgetFullURI()Get the URI to the Servlet.StringgetName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
getContextRoot
public String getContextRoot()
- Returns:
- the contextRoot
-
getBaseURI
public URI getBaseURI()
Get the URI to the Servlet's context.- Returns:
- the base URI, e.g. "http://localhost:8888/"
-
getFullURI
public URI getFullURI()
Get the URI to the Servlet.- Returns:
- the base URI, e.g. "http://localhost:8888/Test"
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- Throws:
IllegalStateException- if host is null- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- Throws:
IllegalStateException- if host is null- See Also:
Object.equals(java.lang.Object)
-
-