We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.hilla.
Package com.vaadin.flow.internal.hilla
Interface FileRouterRequestUtil
All Known Implementing Classes:
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 checkReturns:
true
if the request is allowed,false
otherwise
-