public class RemotingServlet
extends org.springframework.web.servlet.DispatcherServlet
Modifier and Type | Field and Description |
---|---|
protected boolean |
initialized |
static java.lang.String |
SPRING_CONTEXT_CONFIG |
EXCEPTION_ATTRIBUTE, 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
Constructor and Description |
---|
RemotingServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkConfiguration(javax.servlet.http.HttpServletRequest request)
Check correctness of some configuration parameters and log the warning if necessary.
|
protected void |
doService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.Class<?> |
getContextClass() |
java.lang.String |
getContextConfigLocation() |
void |
init(javax.servlet.ServletConfig config) |
protected org.springframework.web.context.WebApplicationContext |
initWebApplicationContext() |
protected org.springframework.web.servlet.ModelAndView |
processHandlerException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler,
java.lang.Exception ex) |
buildLocaleContext, checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getHandlerAdapter, getHandlerMappings, getMultipartResolver, getThemeSource, initStrategies, noHandlerFound, onRefresh, render, resolveViewName, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers, setThrowExceptionIfNoHandlerFound
applyInitializers, buildRequestAttributes, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, destroy, doDelete, doGet, doOptions, doPost, doPut, doTrace, findWebApplicationContext, getContextAttribute, getContextId, getNamespace, getServletContextAttributeName, getUsernameForRequest, getWebApplicationContext, initFrameworkServlet, initServletBean, isEnableLoggingRequestDetails, onApplicationEvent, postProcessWebApplicationContext, processRequest, refresh, service, setApplicationContext, setContextAttribute, setContextClass, setContextConfigLocation, setContextId, setContextInitializerClasses, setContextInitializers, setDispatchOptionsRequest, setDispatchTraceRequest, setEnableLoggingRequestDetails, setNamespace, setPublishContext, setPublishEvents, setThreadContextInheritable
addRequiredProperty, createEnvironment, getEnvironment, getServletName, init, initBeanWrapper, setEnvironment
public static final java.lang.String SPRING_CONTEXT_CONFIG
protected volatile boolean initialized
public java.lang.String getContextConfigLocation()
getContextConfigLocation
in class org.springframework.web.servlet.FrameworkServlet
@Nonnull protected org.springframework.web.context.WebApplicationContext initWebApplicationContext()
initWebApplicationContext
in class org.springframework.web.servlet.FrameworkServlet
protected void doService(javax.servlet.http.HttpServletRequest request, @Nonnull javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
doService
in class org.springframework.web.servlet.DispatcherServlet
java.lang.Exception
protected void checkConfiguration(javax.servlet.http.HttpServletRequest request)
protected org.springframework.web.servlet.ModelAndView processHandlerException(javax.servlet.http.HttpServletRequest request, @Nonnull javax.servlet.http.HttpServletResponse response, java.lang.Object handler, @Nonnull java.lang.Exception ex) throws java.lang.Exception
processHandlerException
in class org.springframework.web.servlet.DispatcherServlet
java.lang.Exception
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
@Nonnull public java.lang.Class<?> getContextClass()
getContextClass
in class org.springframework.web.servlet.FrameworkServlet