org.apache.empire.struts2.web
Class EmpireStrutsDispatcher

java.lang.Object
  extended by org.apache.struts2.dispatcher.Dispatcher
      extended by org.apache.empire.struts2.web.EmpireStrutsDispatcher

public class EmpireStrutsDispatcher
extends org.apache.struts2.dispatcher.Dispatcher


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.struts2.dispatcher.Dispatcher
org.apache.struts2.dispatcher.Dispatcher.Locator
 
Field Summary
 String APPLICATION_CLASS
           
protected static org.slf4j.Logger log
           
 String REQUEST_CLASS
           
 String SESSION_CLASS
           
 
Constructor Summary
EmpireStrutsDispatcher(javax.servlet.ServletContext servletContext, Map<String,String> initParams)
           
 
Method Summary
protected  void createApplicationObject(javax.servlet.ServletContext servletContext, String appClassName)
           
protected  boolean createRequestObject(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object sessObj)
           
protected  void createSessionObject(javax.servlet.http.HttpServletRequest request, Object applObj)
           
static Object getCurrentRequest()
          Deprecated. use EmpireThreadManager.getCurrentRequest() instead.
 void serviceAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context, org.apache.struts2.dispatcher.mapper.ActionMapping mapping)
           
 
Methods inherited from class org.apache.struts2.dispatcher.Dispatcher
addDispatcherListener, cleanup, createContextMap, createContextMap, getConfigurationManager, getContainer, getInstance, init, prepare, removeDispatcherListener, sendError, setConfigurationManager, setDefaultEncoding, setDefaultLocale, setDevMode, setInstance, setMultipartHandler, setMultipartSaveDir, setValueStackFactory, wrapRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.slf4j.Logger log

APPLICATION_CLASS

public final String APPLICATION_CLASS
See Also:
Constant Field Values

SESSION_CLASS

public final String SESSION_CLASS
See Also:
Constant Field Values

REQUEST_CLASS

public final String REQUEST_CLASS
See Also:
Constant Field Values
Constructor Detail

EmpireStrutsDispatcher

public EmpireStrutsDispatcher(javax.servlet.ServletContext servletContext,
                              Map<String,String> initParams)
Method Detail

getCurrentRequest

@Deprecated
public static Object getCurrentRequest()
Deprecated. use EmpireThreadManager.getCurrentRequest() instead.


serviceAction

public void serviceAction(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          javax.servlet.ServletContext context,
                          org.apache.struts2.dispatcher.mapper.ActionMapping mapping)
                   throws javax.servlet.ServletException
Overrides:
serviceAction in class org.apache.struts2.dispatcher.Dispatcher
Throws:
javax.servlet.ServletException

createApplicationObject

protected void createApplicationObject(javax.servlet.ServletContext servletContext,
                                       String appClassName)

createSessionObject

protected void createSessionObject(javax.servlet.http.HttpServletRequest request,
                                   Object applObj)

createRequestObject

protected boolean createRequestObject(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      Object sessObj)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.