public class KSBDispatcherServlet extends org.springframework.web.servlet.DispatcherServlet
DispatcherServlet
which dispatches incoming requests to the appropriate
service endpoint.FLASH_MAP_MANAGER_BEAN_NAME, HANDLER_ADAPTER_BEAN_NAME, HANDLER_EXCEPTION_RESOLVER_BEAN_NAME, HANDLER_MAPPING_BEAN_NAME, LOCALE_RESOLVER_ATTRIBUTE, LOCALE_RESOLVER_BEAN_NAME, MULTIPART_RESOLVER_BEAN_NAME, 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
Constructor and Description |
---|
KSBDispatcherServlet() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.context.i18n.LocaleContext |
buildLocaleContext(javax.servlet.http.HttpServletRequest request)
Overriding this method to correct a NullPointerException when the
getLocale() method is called on the LocaleContext returned here.
|
protected org.springframework.web.servlet.HandlerExecutionChain |
getHandler(javax.servlet.http.HttpServletRequest request,
boolean cache)
Return the HandlerExecutionChain for this request.
|
protected org.springframework.web.servlet.HandlerAdapter |
getHandlerAdapter(Object handler) |
protected void |
initFrameworkServlet() |
protected boolean |
isSecure(javax.servlet.http.HttpServletRequest request) |
protected org.springframework.web.servlet.ModelAndView |
processHandlerException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overrides the service method to replace the request and responses with one which will provide input and output streams for
verifying and signing the data.
|
checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, doService, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getMultipartResolver, getThemeSource, initStrategies, noHandlerFound, onRefresh, render, resolveViewName, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers
applyInitializers, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, destroy, doDelete, doGet, doOptions, doPost, doPut, doTrace, findWebApplicationContext, getContextAttribute, getContextClass, getContextConfigLocation, getContextId, getNamespace, getServletContextAttributeName, getUsernameForRequest, getWebApplicationContext, initServletBean, initWebApplicationContext, onApplicationEvent, postProcessWebApplicationContext, processRequest, refresh, setContextAttribute, setContextClass, setContextConfigLocation, setContextId, setContextInitializerClasses, setContextInitializers, setDispatchOptionsRequest, setDispatchTraceRequest, setNamespace, setPublishContext, setPublishEvents, setThreadContextInheritable
addRequiredProperty, getServletContext, getServletName, init, initBeanWrapper, setEnvironment
public KSBDispatcherServlet()
protected void initFrameworkServlet() throws javax.servlet.ServletException, org.springframework.beans.BeansException
initFrameworkServlet
in class org.springframework.web.servlet.FrameworkServlet
javax.servlet.ServletException
org.springframework.beans.BeansException
protected org.springframework.web.servlet.HandlerAdapter getHandlerAdapter(Object handler) throws javax.servlet.ServletException
getHandlerAdapter
in class org.springframework.web.servlet.DispatcherServlet
javax.servlet.ServletException
protected org.springframework.web.servlet.HandlerExecutionChain getHandler(javax.servlet.http.HttpServletRequest request, boolean cache) throws Exception
getHandler
in class org.springframework.web.servlet.DispatcherServlet
request
- current HTTP requestcache
- whether to cache the HandlerExecutionChain in a request attributenull
if no handler could be foundException
protected org.springframework.web.servlet.ModelAndView processHandlerException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex) throws Exception
processHandlerException
in class org.springframework.web.servlet.DispatcherServlet
Exception
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected boolean isSecure(javax.servlet.http.HttpServletRequest request)
protected org.springframework.context.i18n.LocaleContext buildLocaleContext(javax.servlet.http.HttpServletRequest request)
buildLocaleContext
in class org.springframework.web.servlet.DispatcherServlet
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.