Handler
, HandlerContainer
, Container
, Destroyable
, Dumpable
, LifeCycle
public class LocaleWebAppHandler extends HandlerWrapper
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.Listener
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
_handler
Constructor | Description |
---|---|
LocaleWebAppHandler(I2PAppContext ctx,
String path,
String warPath,
File tmpdir,
ServletHandler servletHandler) |
Modifier and Type | Method | Description |
---|---|---|
void |
handle(String pathInContext,
Request baseRequest,
HttpServletRequest httpRequest,
HttpServletResponse httpResponse) |
Handle foo.jsp by converting to foo_xx.jsp
for language xx, where xx is the language for the default locale,
or as specified in the routerconsole.lang property.
|
static void |
setInitParams(WebAppContext context,
Map<?,?> params) |
doStart, doStop, dumpThis, getServer
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeans
destroy, expandChildren, getHandler, getHandlers, setHandler, setServer
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public LocaleWebAppHandler(I2PAppContext ctx, String path, String warPath, File tmpdir, ServletHandler servletHandler)
public void handle(String pathInContext, Request baseRequest, HttpServletRequest httpRequest, HttpServletResponse httpResponse) throws IOException, ServletException
handle
in interface Handler
handle
in class HandlerWrapper
IOException
ServletException
public static void setInitParams(WebAppContext context, Map<?,?> params)