org.neo4j.server.web
Interface WebServer

All Known Implementing Classes:
Jetty6WebServer

public interface WebServer


Method Summary
 void addExecutionLimitFilter(int timeout)
           
 void addJAXRSPackages(List<String> packageNames, String serverMountPoint)
           
 void addSecurityRules(SecurityRule... rules)
           
 void addStaticContent(String contentLocation, String serverMountPoint)
           
 void enableHTTPLoggingForWebadmin(File logbackConfig)
           
 org.mortbay.jetty.Server getJetty()
          Deprecated. 
 void init()
           
 void invokeDirectly(String targetUri, 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()
           
 void stop()
           
 

Method Detail

init

void init()

setNeoServer

void setNeoServer(NeoServer server)

setPort

void setPort(int portNo)

setAddress

void setAddress(String addr)

setEnableHttps

void setEnableHttps(boolean enable)

setHttpsPort

void setHttpsPort(int portNo)

setHttpsCertificateInformation

void setHttpsCertificateInformation(KeyStoreInformation config)

start

void start()

stop

void stop()

setMaxThreads

void setMaxThreads(int maxThreads)

addJAXRSPackages

void addJAXRSPackages(List<String> packageNames,
                      String serverMountPoint)

addStaticContent

void addStaticContent(String contentLocation,
                      String serverMountPoint)

invokeDirectly

void invokeDirectly(String targetUri,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
                    throws IOException,
                           javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

addSecurityRules

void addSecurityRules(SecurityRule... rules)

addExecutionLimitFilter

void addExecutionLimitFilter(int timeout)

enableHTTPLoggingForWebadmin

void enableHTTPLoggingForWebadmin(File logbackConfig)

getJetty

@Deprecated
org.mortbay.jetty.Server getJetty()
Deprecated. 



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