Arquillian Container SPI 1.0.0.CR2

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

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

public class HTTPContext
extends Object

WebContext

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
HTTPContext(String host, int port)
           
 
Method Summary
 HTTPContext add(Servlet servlet)
           
 String getHost()
           
 int getPort()
           
 Servlet getServletByName(String name)
           
 List<Servlet> getServlets()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPContext

public HTTPContext(String host,
                   int port)
Method Detail

getHost

public String getHost()
Returns:
the ip

getPort

public int getPort()
Returns:
the port

add

public HTTPContext add(Servlet servlet)

getServlets

public List<Servlet> getServlets()
Returns:
the servlets

getServletByName

public Servlet getServletByName(String name)

Arquillian Container SPI 1.0.0.CR2

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