net.sf.jbenchmark
Class HttpServer

java.lang.Object
  extended bynet.sf.jbenchmark.TestFeature
      extended bynet.sf.jbenchmark.HttpServer

public class HttpServer
extends TestFeature

Manages the set of connections to a server.

Version:
$Id: HttpServer.java,v 1.3 2004/07/05 01:19:25 bdargan Exp $
Author:
Adam Murdoch

Constructor Summary
HttpServer()
           
 
Method Summary
 org.apache.commons.httpclient.HttpClient getClient()
          Returns the client to use.
 boolean isUseThreadSession()
           
 void setHostname(java.lang.String hostname)
          Sets the hostname.
 void setPort(int port)
          Sets the http port.
 void setThreadSession(boolean useThreadSession)
          Sets the thread session flag.
 
Methods inherited from class net.sf.jbenchmark.TestFeature
finish, getContext, getName, setContext, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpServer

public HttpServer()
Method Detail

setHostname

public void setHostname(java.lang.String hostname)
Sets the hostname.


setPort

public void setPort(int port)
Sets the http port.


isUseThreadSession

public boolean isUseThreadSession()
Returns:

setThreadSession

public void setThreadSession(boolean useThreadSession)
Sets the thread session flag.


getClient

public org.apache.commons.httpclient.HttpClient getClient()
Returns the client to use.