public class ModulesWandoraWebAppHandler extends java.lang.Object implements WebAppHandler
Modifier and Type | Class and Description |
---|---|
class |
ModulesWandoraWebAppHandler._ServletModule |
WebAppHandler.ConfigComponent
Modifier and Type | Field and Description |
---|---|
protected WandoraWebApp |
app |
protected java.lang.String |
configFile |
protected ModuleManager |
moduleManager |
protected ParallelListenerList<ServletModule.RequestListener> |
requestListeners |
protected WandoraWebAppServer |
server |
protected ServletModule |
servletModule |
protected java.lang.String |
staticPath |
Constructor and Description |
---|
ModulesWandoraWebAppHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addRequestListener(ServletModule.RequestListener listener) |
WebAppHandler.ConfigComponent |
getConfigComponent(WandoraWebApp app,
WandoraWebAppServer server) |
java.lang.String |
getConfigFile() |
boolean |
getPage(WandoraWebApp app,
WandoraWebAppServer server,
java.lang.String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
getStaticPath() |
Wandora |
getWandora() |
void |
init(WandoraWebApp app,
WandoraWebAppServer server,
Options options) |
void |
removeRequestListener(ServletModule.RequestListener listener) |
protected void |
returnNotHandled(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
ModulesServlet.HttpMethod method) |
void |
save(WandoraWebApp app,
WandoraWebAppServer server,
Options options) |
void |
setConfigFile(java.lang.String configFile) |
void |
setStaticPath(java.lang.String staticPath) |
void |
start(WandoraWebApp app,
WandoraWebAppServer server) |
void |
stop(WandoraWebApp app,
WandoraWebAppServer server) |
protected final ParallelListenerList<ServletModule.RequestListener> requestListeners
protected ModuleManager moduleManager
protected ServletModule servletModule
protected java.lang.String configFile
protected java.lang.String staticPath
protected WandoraWebAppServer server
protected WandoraWebApp app
public java.lang.String getConfigFile()
public void setConfigFile(java.lang.String configFile)
public java.lang.String getStaticPath()
public void setStaticPath(java.lang.String staticPath)
public void addRequestListener(ServletModule.RequestListener listener)
public void removeRequestListener(ServletModule.RequestListener listener)
public Wandora getWandora()
protected void returnNotHandled(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ModulesServlet.HttpMethod method) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public boolean getPage(WandoraWebApp app, WandoraWebAppServer server, java.lang.String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
getPage
in interface WebAppHandler
public void init(WandoraWebApp app, WandoraWebAppServer server, Options options)
init
in interface WebAppHandler
public void save(WandoraWebApp app, WandoraWebAppServer server, Options options)
save
in interface WebAppHandler
public void start(WandoraWebApp app, WandoraWebAppServer server)
start
in interface WebAppHandler
public void stop(WandoraWebApp app, WandoraWebAppServer server)
stop
in interface WebAppHandler
public WebAppHandler.ConfigComponent getConfigComponent(WandoraWebApp app, WandoraWebAppServer server)
getConfigComponent
in interface WebAppHandler
Copyright 2004-2015 Wandora Team