public class Jetty8WebAppContext extends Object implements WebAppContext
| Constructor and Description |
|---|
Jetty8WebAppContext(org.eclipse.jetty.servlet.ServletContextHandler contextHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireRequestDestroyed(javax.servlet.ServletRequest servletRequest) |
void |
fireRequestInitialized(javax.servlet.ServletRequest servletRequest) |
ClassLoader |
getClassLoader() |
String |
getContextPath() |
javax.servlet.http.HttpSession |
getHttpSession(String sessId) |
javax.servlet.ServletContext |
getServletContext() |
boolean |
importFile(String parentDirRelativePath,
String name,
InputStream source,
boolean overwrite) |
void |
start() |
void |
stop() |
public Jetty8WebAppContext(org.eclipse.jetty.servlet.ServletContextHandler contextHandler)
public void start()
throws Exception
start in interface WebAppContextExceptionpublic void stop()
stop in interface WebAppContextpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface WebAppContextpublic ClassLoader getClassLoader()
getClassLoader in interface WebAppContextpublic String getContextPath()
getContextPath in interface WebAppContextpublic boolean importFile(String parentDirRelativePath, String name, InputStream source, boolean overwrite) throws IOException
importFile in interface WebAppContextIOExceptionpublic javax.servlet.http.HttpSession getHttpSession(String sessId)
getHttpSession in interface WebAppContextpublic void fireRequestDestroyed(javax.servlet.ServletRequest servletRequest)
fireRequestDestroyed in interface WebAppContextpublic void fireRequestInitialized(javax.servlet.ServletRequest servletRequest)
fireRequestInitialized in interface WebAppContextCopyright © 2017 JBoss by Red Hat. All Rights Reserved.