Interface IWebSocketConnectionFilter
- All Known Implementing Classes:
WebSocketConnectionFilterCollection
,WebSocketConnectionOriginFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Common interface for rejecting connections which are not meeting some of the security concerns.
One example might be when the connection 'Origin' header does not match the origin of the
application host
- Author:
- Gergely Nagy
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoFilter
(jakarta.servlet.http.HttpServletRequest servletRequest) Method for rejecting connections based on the current request
-
Method Details
-
doFilter
Method for rejecting connections based on the current request- Parameters:
servletRequest
- The servlet request holding the request headers
-