|
PageMixer demonstration with Servlet | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jp.ne.dti.lares.foozy.pagemixer.servlet.ContextFactory | +--pagemixer.servlet.CustomContextFactory
Custom implementation of "ContextFactory
".
Fields inherited from interface common.LocaleKeys |
KEY_LOCALE_ENTRY, KEY_LOCALE_ENTRY_PROVIDER, KEY_PARAM_LOCALE, KEY_SESSION_LOCALE |
Fields inherited from interface common.LocaleConstants |
CLASS_LOCALE, CLASS_LOCALE_ENTRY, PARAM_LOCALE, REQUEST_LOCALE_ENTRY, REQUEST_LOCALE_ENTRY_PROVIDER, SESSION_LOCALE |
Fields inherited from interface common.ServletKeys |
KEY_BASE_HREF |
Fields inherited from interface common.ServletConstants |
INIT_AUTH_PASSWORD, INIT_AUTH_USERNAME, INIT_PAGE_AUTH, INIT_PAGE_SHOP_BASKET, INIT_PAGE_TOP, REQUEST_BASE_HREF |
Constructor Summary | |
CustomContextFactory()
Constructor. |
Method Summary | |
jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext |
create(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create ConsumerContext. |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.ContextFactory |
cleanup, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CustomContextFactory()
Method Detail |
public jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext create(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
You can customize
ConsumerContext
creation procedure, for example:
This implementation returns one containing values shown below:
ListDataProvider
" identified by
KEY_LOCALE_ENTRY_PROVIDER
Locale
" objects
from HTTP request headerKEY_BASE_HREF
href
" value
of "base
" tagcreate
in class jp.ne.dti.lares.foozy.pagemixer.servlet.ContextFactory
servlet
- of current requestrequest
- of current request to Servletresponse
- of current request to Servlet
|
PageMixer demonstration with Servlet | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |