PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.servlet
Class I18NDefaultPageServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--jp.ne.dti.lares.foozy.pagemixer.servlet.PageServlet
                    |
                    +--jp.ne.dti.lares.foozy.pagemixer.servlet.I18NDefaultPageServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class I18NDefaultPageServlet
extends PageServlet

PageServlet with I18NDefaultPageFactory.

This is utility class to use PageServlet with I18NDefaultPageFactory easily.

You should(can) specify parameters shown below, if you use default configuration.

Since:
PageMixer 3.0
See Also:
Serialized Form

Fields inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.PageServlet
PARAM_CONTEXT_FACTORY, PARAM_EXPIRE_INTERVAL, PARAM_FILTER_FACTORY, PARAM_FORWARD_STRATEGY, PARAM_LOCALE_FACTORY, PARAM_LOCATOR_FACTORY, PARAM_PAGE_FACTORY, PARAM_PRODUCER_FACTORY
 
Constructor Summary
I18NDefaultPageServlet()
          Construct.
I18NDefaultPageServlet(ContextFactory contextFactory, LocaleFactory localeFactory, ForwardStrategy forwardStrategy, FilterFactory filterFactory, LocatorFactory locatorFactory, ProducerFactory producerFactory)
          Constructor.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.PageServlet
destroy, doAction, doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18NDefaultPageServlet

public I18NDefaultPageServlet()
Construct.

This is equivalent to I18NDefaultPageServlet with all 'null' parameters.


I18NDefaultPageServlet

public I18NDefaultPageServlet(ContextFactory contextFactory,
                              LocaleFactory localeFactory,
                              ForwardStrategy forwardStrategy,
                              FilterFactory filterFactory,
                              LocatorFactory locatorFactory,
                              ProducerFactory producerFactory)
Constructor.
Parameters:
contextFactory - to create ConsumerContext
localeFactory - to create Locale
forwardStrategy - to decide control forwarding
filterFactory - to create Filter
locatorFactory - to create Locator
producerFactory - to create Producer.Factory

PageMixer API - 3.1