Class UrlEncodedFormMatcher

java.lang.Object
org.apache.juneau.rest.matcher.RestMatcher
org.apache.juneau.rest.matcher.UrlEncodedFormMatcher

public class UrlEncodedFormMatcher extends RestMatcher
Predefined matcher for matching requests with content type "application/x-www-form-urlencoded".
See Also:
  • Constructor Details

  • Method Details

    • matches

      public boolean matches(jakarta.servlet.http.HttpServletRequest req)
      Description copied from class: RestMatcher
      Returns true if the specified request matches this matcher.
      Specified by:
      matches in class RestMatcher
      Parameters:
      req - The servlet request.
      Returns:
      true if the specified request matches this matcher.