|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.springframework.web.servlet.HttpServletBean
org.springframework.web.servlet.FrameworkServlet
org.springframework.web.servlet.DispatcherServlet
info.magnolia.module.blossom.render.BlossomDispatcherServlet
public class BlossomDispatcherServlet
Specialization of DispatcherServlet that detects templates, paragraphs and dialogs factories and expose functionality for rendering and pre-execution.
Field Summary |
---|
Fields inherited from class org.springframework.web.servlet.DispatcherServlet |
---|
FLASH_MAP_MANAGER_ATTRIBUTE, FLASH_MAP_MANAGER_BEAN_NAME, HANDLER_ADAPTER_BEAN_NAME, HANDLER_EXCEPTION_RESOLVER_BEAN_NAME, HANDLER_MAPPING_BEAN_NAME, INPUT_FLASH_MAP_ATTRIBUTE, LOCALE_RESOLVER_ATTRIBUTE, LOCALE_RESOLVER_BEAN_NAME, MULTIPART_RESOLVER_BEAN_NAME, OUTPUT_FLASH_MAP_ATTRIBUTE, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger, REQUEST_TO_VIEW_NAME_TRANSLATOR_BEAN_NAME, THEME_RESOLVER_ATTRIBUTE, THEME_RESOLVER_BEAN_NAME, THEME_SOURCE_ATTRIBUTE, VIEW_RESOLVER_BEAN_NAME, WEB_APPLICATION_CONTEXT_ATTRIBUTE |
Fields inherited from class org.springframework.web.servlet.FrameworkServlet |
---|
DEFAULT_CONTEXT_CLASS, DEFAULT_NAMESPACE_SUFFIX, SERVLET_CONTEXT_PREFIX |
Fields inherited from class org.springframework.web.servlet.HttpServletBean |
---|
logger |
Constructor Summary | |
---|---|
BlossomDispatcherServlet()
|
Method Summary | |
---|---|
void |
forward(String path,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected Object |
getDefaultStrategy(org.springframework.context.ApplicationContext context,
Class strategyInterface)
|
org.springframework.web.servlet.HandlerAdapter |
getHandlerAdapter(Object handler)
|
void |
include(String path,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected org.springframework.web.context.WebApplicationContext |
initWebApplicationContext()
|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
|
protected void |
postProcessWebApplicationContext(org.springframework.web.context.ConfigurableWebApplicationContext wac)
|
Methods inherited from class org.springframework.web.servlet.DispatcherServlet |
---|
buildLocaleContext, checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, doService, getDefaultStrategies, getDefaultViewName, getHandler, getHandler, getMultipartResolver, getThemeSource, initStrategies, noHandlerFound, onRefresh, processHandlerException, render, resolveViewName, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers |
Methods inherited from class org.springframework.web.servlet.FrameworkServlet |
---|
applyInitializers, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, destroy, doDelete, doGet, doOptions, doPost, doPut, doTrace, findWebApplicationContext, getContextAttribute, getContextClass, getContextConfigLocation, getContextId, getNamespace, getServletContextAttributeName, getUsernameForRequest, getWebApplicationContext, initFrameworkServlet, initServletBean, onApplicationEvent, processRequest, refresh, setContextAttribute, setContextClass, setContextConfigLocation, setContextId, setContextInitializerClasses, setContextInitializers, setDispatchOptionsRequest, setDispatchTraceRequest, setNamespace, setPublishContext, setPublishEvents, setThreadContextInheritable |
Methods inherited from class org.springframework.web.servlet.HttpServletBean |
---|
addRequiredProperty, getServletContext, getServletName, init, initBeanWrapper, setEnvironment |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doHead, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlossomDispatcherServlet()
Method Detail |
---|
protected Object getDefaultStrategy(org.springframework.context.ApplicationContext context, Class strategyInterface) throws org.springframework.beans.BeansException
getDefaultStrategy
in class org.springframework.web.servlet.DispatcherServlet
org.springframework.beans.BeansException
protected void postProcessWebApplicationContext(org.springframework.web.context.ConfigurableWebApplicationContext wac)
postProcessWebApplicationContext
in class org.springframework.web.servlet.FrameworkServlet
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
protected org.springframework.web.context.WebApplicationContext initWebApplicationContext() throws org.springframework.beans.BeansException
initWebApplicationContext
in class org.springframework.web.servlet.FrameworkServlet
org.springframework.beans.BeansException
public org.springframework.web.servlet.HandlerAdapter getHandlerAdapter(Object handler) throws javax.servlet.ServletException
getHandlerAdapter
in interface BlossomDispatcher
getHandlerAdapter
in class org.springframework.web.servlet.DispatcherServlet
javax.servlet.ServletException
public void forward(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
forward
in interface BlossomDispatcher
javax.servlet.ServletException
IOException
public void include(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
include
in interface BlossomDispatcher
javax.servlet.ServletException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |