Arquillian Container SPI 1.0.0.CR2

org.jboss.arquillian.container.spi.client.protocol.metadata
Class Servlet

java.lang.Object
  extended by org.jboss.arquillian.container.spi.client.protocol.metadata.Servlet

public class Servlet
extends Object

Servlet

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
Servlet(String name, String contextRoot)
           
 
Method Summary
 URI getBaseURI()
           
 String getContextRoot()
           
 URI getFullURI()
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet(String name,
               String contextRoot)
Method Detail

getName

public String getName()
Returns:
the name

getContextRoot

public String getContextRoot()
Returns:
the contextRoot

getBaseURI

public URI getBaseURI()

getFullURI

public URI getFullURI()
Returns:
BaseURI + name

toString

public String toString()
Overrides:
toString in class Object

Arquillian Container SPI 1.0.0.CR2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.