public class GraphAwareBootstrappingFilter extends Object implements javax.servlet.Filter
Filter that only exists to bootstrap the GraphAware Framework in Neo4j server.| Constructor and Description |
|---|
GraphAwareBootstrappingFilter(org.neo4j.server.NeoServer neoServer,
org.neo4j.server.web.Jetty9WebServer webServer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultFilters(org.eclipse.jetty.servlet.ServletContextHandler context) |
protected void |
addGraphAwareHandlers(org.eclipse.jetty.server.handler.HandlerCollection handlerList,
org.eclipse.jetty.server.SessionIdManager sessionManager,
org.springframework.context.ApplicationContext rootContext,
org.neo4j.kernel.configuration.Config config) |
protected void |
addSpringToHandler(org.eclipse.jetty.servlet.ServletContextHandler handler,
org.springframework.web.context.WebApplicationContext context) |
protected void |
addSpringToHandler(org.eclipse.jetty.servlet.ServletContextHandler handler,
WebContextCreator contextCreator,
org.springframework.context.ApplicationContext rootContext,
org.neo4j.kernel.configuration.Config config) |
protected void |
configureNewHandler(org.eclipse.jetty.server.SessionIdManager sessionManager,
String contextPath,
org.eclipse.jetty.servlet.ServletContextHandler handler) |
protected org.eclipse.jetty.servlet.ServletContextHandler |
createNewHandler(org.eclipse.jetty.server.SessionIdManager sessionManager,
String contextPath) |
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected WebContextCreator |
getGraphAwareContextCreator() |
protected String |
getPackage() |
protected RootContextCreator |
getRootContextCreator() |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected void |
prependHandler(org.eclipse.jetty.server.handler.HandlerCollection handlerList,
org.eclipse.jetty.servlet.ServletContextHandler handler) |
public GraphAwareBootstrappingFilter(org.neo4j.server.NeoServer neoServer,
org.neo4j.server.web.Jetty9WebServer webServer)
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Filterprotected RootContextCreator getRootContextCreator()
protected void addGraphAwareHandlers(org.eclipse.jetty.server.handler.HandlerCollection handlerList,
org.eclipse.jetty.server.SessionIdManager sessionManager,
org.springframework.context.ApplicationContext rootContext,
org.neo4j.kernel.configuration.Config config)
protected final org.eclipse.jetty.servlet.ServletContextHandler createNewHandler(org.eclipse.jetty.server.SessionIdManager sessionManager,
String contextPath)
protected final void configureNewHandler(org.eclipse.jetty.server.SessionIdManager sessionManager,
String contextPath,
org.eclipse.jetty.servlet.ServletContextHandler handler)
protected WebContextCreator getGraphAwareContextCreator()
protected final void addSpringToHandler(org.eclipse.jetty.servlet.ServletContextHandler handler,
WebContextCreator contextCreator,
org.springframework.context.ApplicationContext rootContext,
org.neo4j.kernel.configuration.Config config)
protected final void addSpringToHandler(org.eclipse.jetty.servlet.ServletContextHandler handler,
org.springframework.web.context.WebApplicationContext context)
protected final void addDefaultFilters(org.eclipse.jetty.servlet.ServletContextHandler context)
protected final void prependHandler(org.eclipse.jetty.server.handler.HandlerCollection handlerList,
org.eclipse.jetty.servlet.ServletContextHandler handler)
protected String getPackage()
Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.