Class JavaxWebSocketFilter
- java.lang.Object
-
- org.apache.wicket.protocol.http.WicketFilter
-
- org.apache.wicket.protocol.ws.AbstractUpgradeFilter
-
- org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class JavaxWebSocketFilter extends AbstractUpgradeFilter
An upgrade filter that setups javax.websocket
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.protocol.http.WicketFilter
APP_FACT_PARAM, FILTER_MAPPING_PARAM, IGNORE_PATHS_PARAM
-
-
Constructor Summary
Constructors Constructor Description JavaxWebSocketFilter()
JavaxWebSocketFilter(WebApplication application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(boolean isServlet, javax.servlet.FilterConfig filterConfig)
Servlets and Filters are treated essentially the same with Wicket.-
Methods inherited from class org.apache.wicket.protocol.ws.AbstractUpgradeFilter
acceptWebSocket, getTokensFromHeader, processRequestCycle, selectSubProtocol, verifyOrigin
-
Methods inherited from class org.apache.wicket.protocol.http.WicketFilter
checkIfRedirectRequired, destroy, doFilter, getApplication, getApplicationFactory, getClassLoader, getFilterConfig, getFilterPath, getFilterPath, getFilterPathFromAnnotation, getFilterPathFromConfig, getFilterPathFromWebXml, getRelativePath, init, setFilterPath
-
-
-
-
Constructor Detail
-
JavaxWebSocketFilter
public JavaxWebSocketFilter()
-
JavaxWebSocketFilter
public JavaxWebSocketFilter(WebApplication application)
-
-
Method Detail
-
init
public void init(boolean isServlet, javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
Description copied from class:WicketFilter
Servlets and Filters are treated essentially the same with Wicket. This is the entry point for both of them.- Overrides:
init
in classWicketFilter
- Parameters:
isServlet
- True if Servlet, false if Filter- Throws:
javax.servlet.ServletException
- See Also:
WicketFilter.init(FilterConfig)
-
-