|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.util.Container
org.mortbay.jetty.servlet.ServletHandler
org.mortbay.jetty.servlet.WebApplicationHandler
net.i2p.router.web.LocaleWebAppHandler
public class LocaleWebAppHandler
Convert foo.jsp to foo_xx.jsp for language xx. This is appropriate for jsps with large amounts of text. This does not work for included jsps (e.g. summary*)
Field Summary |
---|
Fields inherited from class org.mortbay.jetty.servlet.WebApplicationHandler |
---|
_chainCache, _contextAttributeListeners, _namedChainCache, _requestAttributeListeners, _requestListeners, _sessionListeners, jsr154Filter, jsr154FilterHolder |
Fields inherited from class org.mortbay.jetty.servlet.ServletHandler |
---|
__DEFAULT_SERVLET, __J_S_CONTEXT_TEMPDIR, __J_S_ERROR_EXCEPTION, __J_S_ERROR_EXCEPTION_TYPE, __J_S_ERROR_MESSAGE, __J_S_ERROR_REQUEST_URI, __J_S_ERROR_SERVLET_NAME, __J_S_ERROR_STATUS_CODE, _attributes, _contextLog, _formErrorPage, _formLoginPage, _httpContext, _loader, _nameMap, _servletMap, _sessionManager |
Constructor Summary | |
---|---|
LocaleWebAppHandler(I2PAppContext ctx)
|
Method Summary | |
---|---|
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
org.mortbay.http.HttpRequest httpRequest,
org.mortbay.http.HttpResponse 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. |
Methods inherited from class org.mortbay.jetty.servlet.WebApplicationHandler |
---|
addComponent, addEventListener, addFilterHolder, addFilterPathMapping, addFilterServletMapping, defineFilter, destroy, dispatch, doStart, doStop, getErrorPage, getFilter, getFilters, getJsr154Filter, initializeServlets, isAcceptRanges, isFilterChainsCached, main, newFilterHolder, removeComponent, removeContextAttribute, removeEventListener, setAcceptRanges, setContextAttribute, setFilterChainsCached, setSessionManager |
Methods inherited from class org.mortbay.jetty.servlet.ServletHandler |
---|
addServlet, addServlet, addServlet, addServletHolder, finalize, formAuthInit, getClassLoader, getContextAttribute, getContextAttributeNames, getHolderEntry, getHttpContext, getHttpSession, getName, getNamedDispatcher, getRealPath, getRequestDispatcher, getResource, getResourceAsStream, getResourcePaths, getServletContext, getServletHolder, getServletMap, getServlets, getSessionManager, handleOptions, handleTrace, handleTrace, initialize, isAutoInitializeServlets, isUsingCookies, mapPathToServlet, newHttpSession, newServletHolder, newServletHolder, notFound, setAutoInitializeServlets, setDynamicInitParams, setDynamicServletPathSpec, setName, setServeDynamicSystemServlets, setSessionInactiveInterval, setUsingCookies |
Methods inherited from class org.mortbay.util.Container |
---|
getComponents, isStarted, isStarting, isStopping, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mortbay.util.LifeCycle |
---|
isStarted, start, stop |
Constructor Detail |
---|
public LocaleWebAppHandler(I2PAppContext ctx)
Method Detail |
---|
public void handle(java.lang.String pathInContext, java.lang.String pathParams, org.mortbay.http.HttpRequest httpRequest, org.mortbay.http.HttpResponse httpResponse) throws java.io.IOException
handle
in interface org.mortbay.http.HttpHandler
handle
in class org.mortbay.jetty.servlet.ServletHandler
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |