org.neo4j.server.web
Class Jetty6WebServer
java.lang.Object
org.neo4j.server.web.Jetty6WebServer
- All Implemented Interfaces:
- WebServer
public class Jetty6WebServer
- extends Object
- implements WebServer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Jetty6WebServer
public Jetty6WebServer()
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.