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

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

public class HttpServer
extends Object

Class to start the jetty http server

Author:
Apache Directory Project

Field Summary
static String HTTP_TRANSPORT_ID
          protocol identifier for http
static String HTTPS_TRANSPORT_ID
          protocol identifier for https
 
Constructor Summary
HttpServer()
           
 
Method Summary
 TcpTransport getHttpsTransport()
           
 TcpTransport getHttpTransport()
           
 Set<WebApp> getWebApps()
           
 void setConfFile(String confFile)
           
 void setHttpsTransport(TcpTransport httpsTransport)
           
 void setHttpTransport(TcpTransport httpTransport)
           
 void setWebApps(Set<WebApp> webapps)
           
 void start(DirectoryService dirService)
          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
 

Field Detail

HTTP_TRANSPORT_ID

public static final String HTTP_TRANSPORT_ID
protocol identifier for http

See Also:
Constant Field Values

HTTPS_TRANSPORT_ID

public static final String HTTPS_TRANSPORT_ID
protocol identifier for https

See Also:
Constant Field Values
Constructor Detail

HttpServer

public HttpServer()
Method Detail

start

public void start(DirectoryService dirService)
           throws Exception
starts the jetty http server

Throws:
Exception

stop

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

Throws:
Exception

setConfFile

public void setConfFile(String confFile)

getWebApps

public Set<WebApp> getWebApps()

setWebApps

public void setWebApps(Set<WebApp> webapps)

getHttpTransport

public TcpTransport getHttpTransport()

setHttpTransport

public void setHttpTransport(TcpTransport httpTransport)

getHttpsTransport

public TcpTransport getHttpsTransport()

setHttpsTransport

public void setHttpsTransport(TcpTransport httpsTransport)


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