Class CitrusWebSocketDispatcherServlet
- 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
-
- com.consol.citrus.http.servlet.CitrusDispatcherServlet
-
- com.consol.citrus.websocket.servlet.CitrusWebSocketDispatcherServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable
public class CitrusWebSocketDispatcherServlet extends CitrusDispatcherServlet
Citrus dispatcher servlet extends Spring's message dispatcher servlet and just adds optional configuration settings for default mapping strategies and so on.- Since:
- 1.4
- Author:
- Christoph Deppisch
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringURL_HANDLER_MAPPING_BEAN_NAMEDefault bean names used in default configuration for supporting WebSocket endpoints-
Fields inherited from class com.consol.citrus.http.servlet.CitrusDispatcherServlet
HANDLER_INTERCEPTOR_BEAN_NAME, LOGGING_INTERCEPTOR_BEAN_NAME, MESSAGE_CONTROLLER_BEAN_NAME, MESSAGE_CONVERTER_BEAN_NAME
-
Fields inherited from class org.springframework.web.servlet.DispatcherServlet
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 Summary
Constructors Constructor Description CitrusWebSocketDispatcherServlet(WebSocketServer webSocketServer)Default constructor using http server instance that holds this servlet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitStrategies(org.springframework.context.ApplicationContext context)-
Methods inherited from class com.consol.citrus.http.servlet.CitrusDispatcherServlet
configureHandlerInterceptor, configureMessageController, configureMessageConverter
-
Methods inherited from class org.springframework.web.servlet.DispatcherServlet
buildLocaleContext, checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, doService, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getHandlerAdapter, getHandlerMappings, getMultipartResolver, getThemeSource, noHandlerFound, onRefresh, processHandlerException, render, resolveViewName, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers, setThrowExceptionIfNoHandlerFound
-
Methods inherited from class org.springframework.web.servlet.FrameworkServlet
applyInitializers, buildRequestAttributes, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, destroy, doDelete, doGet, doOptions, doPost, doPut, doTrace, findWebApplicationContext, getContextAttribute, getContextClass, getContextConfigLocation, getContextId, getNamespace, getServletContextAttributeName, getUsernameForRequest, getWebApplicationContext, initFrameworkServlet, initServletBean, initWebApplicationContext, isEnableLoggingRequestDetails, onApplicationEvent, postProcessWebApplicationContext, processRequest, refresh, service, setApplicationContext, setContextAttribute, setContextClass, setContextConfigLocation, setContextId, setContextInitializerClasses, setContextInitializers, setDispatchOptionsRequest, setDispatchTraceRequest, setEnableLoggingRequestDetails, setNamespace, setPublishContext, setPublishEvents, setThreadContextInheritable
-
Methods inherited from class org.springframework.web.servlet.HttpServletBean
addRequiredProperty, createEnvironment, getEnvironment, getServletName, init, initBeanWrapper, setEnvironment
-
-
-
-
Field Detail
-
URL_HANDLER_MAPPING_BEAN_NAME
protected static final String URL_HANDLER_MAPPING_BEAN_NAME
Default bean names used in default configuration for supporting WebSocket endpoints- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CitrusWebSocketDispatcherServlet
public CitrusWebSocketDispatcherServlet(WebSocketServer webSocketServer)
Default constructor using http server instance that holds this servlet.- Parameters:
webSocketServer-
-
-
Method Detail
-
initStrategies
protected void initStrategies(org.springframework.context.ApplicationContext context)
- Overrides:
initStrategiesin classCitrusDispatcherServlet
-
-