| Constructor and Description |
|---|
EndpointUtil() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAnonymousEndpoint(javax.servlet.http.HttpServletRequest request)
Checks if the given request goes to an anonymous (public) endpoint.
|
boolean |
isEndpointRequest(javax.servlet.http.HttpServletRequest request)
Checks if the request is for an endpoint.
|
public boolean isEndpointRequest(javax.servlet.http.HttpServletRequest request)
Note even if this method returns true, there is no guarantee
that an endpoint method will actually be called, e.g. access might be
denied.
request - the HTTP requesttrue if the request is for an endpoint,
false otherwisepublic boolean isAnonymousEndpoint(javax.servlet.http.HttpServletRequest request)
request - the HTTP request to checktrue if the request goes to an anonymous endpoint,
false otherwiseCopyright © 2000–2022 Vaadin Ltd. All rights reserved.