org.neo4j.server.web
Class Jetty6WebServer

java.lang.Object
  extended by org.neo4j.server.web.Jetty6WebServer
All Implemented Interfaces:
WebServer

public class Jetty6WebServer
extends Object
implements WebServer


Field Summary
static String DEFAULT_ADDRESS
           
static int DEFAULT_PORT
           
static Logger log
           
 
Constructor Summary
Jetty6WebServer()
           
 
Method Summary
 void addExecutionLimitFilter(int timeout)
           
 void addJAXRSPackages(List<String> packageNames, String mountPoint)
           
 void addSecurityRules(SecurityRule... rules)
           
 void addStaticContent(String contentLocation, String serverMountPoint)
           
 void enableHTTPLoggingForWebadmin(File logbackConfigFile)
           
 org.mortbay.jetty.Server getJetty()
           
 void init()
           
 void invokeDirectly(String targetPath, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setAddress(String addr)
           
 void setEnableHttps(boolean enable)
           
 void setHttpsCertificateInformation(KeyStoreInformation config)
           
 void setHttpsPort(int portNo)
           
 void setMaxThreads(int maxThreads)
           
 void setNeoServer(NeoServer server)
           
 void setPort(int portNo)
           
 void start()
           
protected  void startJetty()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final Logger log

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

DEFAULT_ADDRESS

public static final String DEFAULT_ADDRESS
See Also:
Constant Field Values
Constructor Detail

Jetty6WebServer

public Jetty6WebServer()
Method Detail

init

public void init()
Specified by:
init in interface WebServer

stop

public void stop()
Specified by:
stop in interface WebServer

setPort

public void setPort(int portNo)
Specified by:
setPort in interface WebServer

setAddress

public void setAddress(String addr)
Specified by:
setAddress in interface WebServer

setMaxThreads

public void setMaxThreads(int maxThreads)
Specified by:
setMaxThreads in interface WebServer

addJAXRSPackages

public void addJAXRSPackages(List<String> packageNames,
                             String mountPoint)
Specified by:
addJAXRSPackages in interface WebServer

setNeoServer

public void setNeoServer(NeoServer server)
Specified by:
setNeoServer in interface WebServer

start

public void start()
Specified by:
start in interface WebServer

addStaticContent

public void addStaticContent(String contentLocation,
                             String serverMountPoint)
Specified by:
addStaticContent in interface WebServer

invokeDirectly

public void invokeDirectly(String targetPath,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws IOException,
                           javax.servlet.ServletException
Specified by:
invokeDirectly in interface WebServer
Throws:
IOException
javax.servlet.ServletException

getJetty

public org.mortbay.jetty.Server getJetty()
Specified by:
getJetty in interface WebServer

enableHTTPLoggingForWebadmin

public void enableHTTPLoggingForWebadmin(File logbackConfigFile)
Specified by:
enableHTTPLoggingForWebadmin in interface WebServer

setEnableHttps

public void setEnableHttps(boolean enable)
Specified by:
setEnableHttps in interface WebServer

setHttpsPort

public void setHttpsPort(int portNo)
Specified by:
setHttpsPort in interface WebServer

setHttpsCertificateInformation

public void setHttpsCertificateInformation(KeyStoreInformation config)
Specified by:
setHttpsCertificateInformation in interface WebServer

startJetty

protected void startJetty()

addSecurityRules

public void addSecurityRules(SecurityRule... rules)
Specified by:
addSecurityRules in interface WebServer

addExecutionLimitFilter

public void addExecutionLimitFilter(int timeout)
Specified by:
addExecutionLimitFilter in interface WebServer


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.