org.apache.directory.server.integration.http
Class HttpServer

java.lang.Object
  extended by org.apache.directory.server.integration.http.HttpServer

public class HttpServer
extends java.lang.Object

Class to start the jetty http server

Version:
$Rev$, $Date$
Author:
Apache Directory Project
XBean

Constructor Summary
HttpServer()
           
 
Method Summary
 int getPort()
           
 java.util.Set<WebApp> getWebApps()
           
 void setConfFile(java.lang.String confFile)
           
 void setPort(int port)
           
 void setWebApps(java.util.Set<WebApp> webapps)
           
 void start()
          starts the jetty http server
 void stop()
          stops the jetty http server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServer

public HttpServer()
Method Detail

start

public void start()
           throws java.lang.Exception
starts the jetty http server

Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
stops the jetty http server

Throws:
java.lang.Exception

setConfFile

public void setConfFile(java.lang.String confFile)

getWebApps

public java.util.Set<WebApp> getWebApps()

setWebApps

public void setWebApps(java.util.Set<WebApp> webapps)

getPort

public int getPort()

setPort

public void setPort(int port)


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.