Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static final class RequestMatcher.MatchResult

  1. Object
  2. RequestMatcher.MatchResult
Whether a request matched, and the variables its pattern bound.

Methods

public boolean isMatch()
public Map<String, String> getVariables()The variables by name; empty when the pattern has none.
public static RequestMatcher.MatchResult match()
public static RequestMatcher.MatchResult match(Map<String, String> variables)
public static RequestMatcher.MatchResult notMatch()

Inherited methods

Method details

isMatch

public boolean isMatch()

getVariables

public Map<String, String> getVariables()
The variables by name; empty when the pattern has none.

match

public static RequestMatcher.MatchResult match()

match

public static RequestMatcher.MatchResult match(Map<String, String> variables)

notMatch

public static RequestMatcher.MatchResult notMatch()