Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface RequestMatcher
Known subtypesAntPathRequestMatcher, AnyRequestMatcher
Decides whether a rule applies to a request: which chain guards it, which
authorization rule covers it, which requests CSRF protection leaves alone.
Nested types
class RequestMatcher.MatchResult | Whether a request matched, and the variables its pattern bound. |
Methods
public abstract boolean matches(HttpServer.Request request) | |
public default RequestMatcher.MatchResult matcher(HttpServer.Request request) | The match with the variables it bound: {id} in a path pattern. |
Method details
matches
public abstract boolean matches(HttpServer.Request request)matcher
public default RequestMatcher.MatchResult matcher(HttpServer.Request request)The match with the variables it bound:
{id} in a path pattern.