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:
jakarta.servlet.Filter
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(boolean isServlet, jakarta.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 Details
-
JavaxWebSocketFilter
public JavaxWebSocketFilter() -
JavaxWebSocketFilter
-
-
Method Details
-
init
public void init(boolean isServlet, jakarta.servlet.FilterConfig filterConfig) throws jakarta.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:
jakarta.servlet.ServletException
- See Also:
-