|
|||||||||
| 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
org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet
org.codehaus.groovy.grails.web.servlet.ErrorHandlingServlet
public class ErrorHandlingServlet
A servlet for handling errors.
| Field Summary | |
|---|---|
static java.lang.String |
UTF_8
|
| Fields inherited from class org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet |
|---|
interceptors, layoutViewResolver, multipartResolver |
| 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 | |
|---|---|
ErrorHandlingServlet()
|
|
| Method Summary | |
|---|---|
protected javax.servlet.http.HttpServletRequest |
checkMultipart(javax.servlet.http.HttpServletRequest request)
Convert the request into a multipart request. |
protected void |
doDispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
initFrameworkServlet()
|
| Methods inherited from class org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet |
|---|
copyParamsFromPreviousRequest, createWebApplicationContext, destroy, establishInterceptors, getHandler, initStrategies, setApplication, triggerAfterCompletion, useWrappedOrOriginalResponse |
| Methods inherited from class org.springframework.web.servlet.DispatcherServlet |
|---|
buildLocaleContext, cleanupMultipart, createDefaultStrategy, doService, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getHandlerAdapter, getMultipartResolver, getThemeSource, noHandlerFound, onRefresh, processHandlerException, render, resolveViewName, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers |
| Methods inherited from class org.springframework.web.servlet.FrameworkServlet |
|---|
applyInitializers, configureAndRefreshWebApplicationContext, createWebApplicationContext, 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, 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 |
| Field Detail |
|---|
public static final java.lang.String UTF_8
| Constructor Detail |
|---|
public ErrorHandlingServlet()
| Method Detail |
|---|
protected void initFrameworkServlet()
throws javax.servlet.ServletException,
org.springframework.beans.BeansException
initFrameworkServlet in class GrailsDispatcherServletjavax.servlet.ServletException
org.springframework.beans.BeansException
protected javax.servlet.http.HttpServletRequest checkMultipart(javax.servlet.http.HttpServletRequest request)
throws org.springframework.web.multipart.MultipartException
GrailsDispatcherServlet
checkMultipart in class GrailsDispatcherServletrequest - current HTTP request
org.springframework.web.multipart.MultipartException
protected void doDispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
doDispatch in class GrailsDispatcherServletjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||