| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ADDRESS |
static int |
DEFAULT_PORT |
| Constructor and Description |
|---|
Jetty9WebServer(org.neo4j.kernel.logging.Logging logging) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(javax.servlet.Filter filter,
String pathSpec) |
void |
addJAXRSClasses(List<String> classNames,
String mountPoint,
Collection<org.neo4j.server.plugins.Injectable<?>> injectables) |
void |
addJAXRSPackages(List<String> packageNames,
String mountPoint,
Collection<org.neo4j.server.plugins.Injectable<?>> injectables) |
void |
addStaticContent(String contentLocation,
String serverMountPoint) |
Server |
getJetty() |
void |
init() |
void |
invokeDirectly(String targetPath,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
removeFilter(javax.servlet.Filter filter,
String pathSpec) |
void |
removeJAXRSClasses(List<String> classNames,
String serverMountPoint) |
void |
removeJAXRSPackages(List<String> packageNames,
String serverMountPoint) |
void |
removeStaticContent(String contentLocation,
String serverMountPoint) |
void |
setAddress(String addr) |
void |
setDefaultInjectables(Collection<InjectableProvider<?>> defaultInjectables) |
void |
setEnableHttps(boolean enable) |
void |
setHttpLoggingConfiguration(File logbackConfigFile) |
void |
setHttpsCertificateInformation(KeyStoreInformation config) |
void |
setHttpsPort(int portNo) |
void |
setMaxThreads(int maxThreads) |
void |
setPort(int portNo) |
void |
setWadlEnabled(boolean wadlEnabled) |
void |
start() |
void |
stop() |
public static final int DEFAULT_PORT
public static final String DEFAULT_ADDRESS
public void setAddress(String addr)
setAddress in interface WebServerpublic void setMaxThreads(int maxThreads)
setMaxThreads in interface WebServerpublic void addJAXRSPackages(List<String> packageNames, String mountPoint, Collection<org.neo4j.server.plugins.Injectable<?>> injectables)
addJAXRSPackages in interface WebServerpublic void addJAXRSClasses(List<String> classNames, String mountPoint, Collection<org.neo4j.server.plugins.Injectable<?>> injectables)
addJAXRSClasses in interface WebServerpublic void setWadlEnabled(boolean wadlEnabled)
setWadlEnabled in interface WebServerpublic void setDefaultInjectables(Collection<InjectableProvider<?>> defaultInjectables)
setDefaultInjectables in interface WebServerpublic void removeJAXRSPackages(List<String> packageNames, String serverMountPoint)
removeJAXRSPackages in interface WebServerpublic void removeJAXRSClasses(List<String> classNames, String serverMountPoint)
removeJAXRSClasses in interface WebServerpublic void addFilter(javax.servlet.Filter filter,
String pathSpec)
public void removeFilter(javax.servlet.Filter filter,
String pathSpec)
removeFilter in interface WebServerpublic void addStaticContent(String contentLocation, String serverMountPoint)
addStaticContent in interface WebServerpublic void removeStaticContent(String contentLocation, String serverMountPoint)
removeStaticContent in interface WebServerpublic void invokeDirectly(String targetPath, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
invokeDirectly in interface WebServerIOExceptionjavax.servlet.ServletExceptionpublic void setHttpLoggingConfiguration(File logbackConfigFile)
setHttpLoggingConfiguration in interface WebServerpublic void setEnableHttps(boolean enable)
setEnableHttps in interface WebServerpublic void setHttpsPort(int portNo)
setHttpsPort in interface WebServerpublic void setHttpsCertificateInformation(KeyStoreInformation config)
setHttpsCertificateInformation in interface WebServerpublic Server getJetty()
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.