Copyright © 2008, 2009 Pedro Agulló Soliveres

com.softwarementors.extjs.djn.servlet
Class DirectJNgineServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.softwarementors.extjs.djn.servlet.DirectJNgineServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DirectJNgineServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Nested Class Summary
static class DirectJNgineServlet.ApiParameters
           
static class DirectJNgineServlet.GlobalParameters
           
 
Field Summary
static java.lang.String REGISTRY_CONFIGURATOR_CLASS
           
 
Constructor Summary
DirectJNgineServlet()
           
 
Method Summary
protected  void attachThreadLocalData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  java.util.List<ApiConfiguration> createApiConfigurationsFromServletConfigurationApi(javax.servlet.ServletConfig configuration)
           
protected  void createDirectJNgineRouter(javax.servlet.ServletConfig configuration)
           
protected  Dispatcher createDispatcher(java.lang.Class<? extends Dispatcher> cls)
           
protected  GlobalConfiguration createGlobalConfiguration(javax.servlet.ServletConfig configuration)
           
protected  RequestRouter createRequestRouter(Registry registry, GlobalConfiguration globalConfiguration)
           
protected  void detachThreadLocalData()
           
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  RequestRouter getProcessor()
           
protected  org.apache.commons.fileupload.servlet.ServletFileUpload getUploader()
           
 void init(javax.servlet.ServletConfig configuration)
           
protected  void performCustomRegistryConfiguration(java.lang.Class<? extends ServletRegistryConfigurator> configuratorClass, Registry registry, javax.servlet.ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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
 

Field Detail

REGISTRY_CONFIGURATOR_CLASS

public static final java.lang.String REGISTRY_CONFIGURATOR_CLASS
See Also:
Constant Field Values
Constructor Detail

DirectJNgineServlet

public DirectJNgineServlet()
Method Detail

getProcessor

protected RequestRouter getProcessor()

getUploader

protected org.apache.commons.fileupload.servlet.ServletFileUpload getUploader()

init

public void init(javax.servlet.ServletConfig configuration)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

createDirectJNgineRouter

protected void createDirectJNgineRouter(javax.servlet.ServletConfig configuration)
                                 throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

createRequestRouter

protected RequestRouter createRequestRouter(Registry registry,
                                            GlobalConfiguration globalConfiguration)

createDispatcher

protected Dispatcher createDispatcher(java.lang.Class<? extends Dispatcher> cls)

performCustomRegistryConfiguration

protected void performCustomRegistryConfiguration(java.lang.Class<? extends ServletRegistryConfigurator> configuratorClass,
                                                  Registry registry,
                                                  javax.servlet.ServletConfig config)

createGlobalConfiguration

protected GlobalConfiguration createGlobalConfiguration(javax.servlet.ServletConfig configuration)

createApiConfigurationsFromServletConfigurationApi

protected java.util.List<ApiConfiguration> createApiConfigurationsFromServletConfigurationApi(javax.servlet.ServletConfig configuration)

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
java.io.IOException

attachThreadLocalData

protected void attachThreadLocalData(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)

detachThreadLocalData

protected void detachThreadLocalData()

Copyright © 2008, 2009 Pedro Agulló Soliveres