|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.springframework.web.servlet.HttpServletBean org.springframework.web.servlet.FrameworkServlet org.springframework.web.servlet.DispatcherServlet org.kuali.rice.ksb.messaging.servlet.KSBDispatcherServlet
public class KSBDispatcherServlet
A DispatcherServlet
which dispatches incoming requests to the appropriate
service endpoint.
Field Summary |
---|
Fields inherited from class org.springframework.web.servlet.DispatcherServlet |
---|
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 |
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 | |
---|---|
KSBDispatcherServlet()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.web.servlet.DispatcherServlet |
---|
checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, doService, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getMultipartResolver, getThemeSource, initStrategies, noHandlerFound, onRefresh, 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, initServletBean, initWebApplicationContext, onApplicationEvent, postProcessWebApplicationContext, 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 |
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 KSBDispatcherServlet()
Method Detail |
---|
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 attribute
null
if no handler could be found
Exception
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |