org.jboss.arquillian.container.spi.client.protocol.metadata
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
Servlet
public Servlet(String name,
String contextRoot)
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:
hashCode
in class Object
- Throws:
IllegalStateException
- if host is null- See Also:
#setParent(HTTPContext)}
,
Object.hashCode()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
- Throws:
IllegalStateException
- if host is null- See Also:
#setParent(HTTPContext)}
,
Object.equals(java.lang.Object)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.