Handler, HandlerContainer, Container, Destroyable, Dumpable, LifeCyclepublic class LocaleWebAppHandler extends HandlerWrapper
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, 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, getServerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, 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, updateBeansdestroy, expandChildren, getHandler, getHandlers, setHandler, setServeraddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic 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 Handlerhandle in class HandlerWrapperIOExceptionServletExceptionpublic static void setInitParams(WebAppContext context, Map<?,?> params)