Package com.vaadin.flow.internal.hilla
Interface FileRouterRequestUtil
- All Known Implementing Classes:
RouteUtil
public interface FileRouterRequestUtil
A container for utility methods related with Hilla file-based router.
For internal use only. May be renamed or removed in a future release.
- Since:
- 24.4
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isRouteAllowed
(jakarta.servlet.http.HttpServletRequest request) Checks if the request corresponds to a Hilla route and, if so, applies the corresponding access control.
-
Method Details
-
isRouteAllowed
boolean isRouteAllowed(jakarta.servlet.http.HttpServletRequest request) Checks if the request corresponds to a Hilla route and, if so, applies the corresponding access control.- Parameters:
request
- the HTTP request to check- Returns:
true
if the request is allowed,false
otherwise
-