Class RequestMapper<T>

java.lang.Object
org.jboss.resteasy.reactive.server.mapping.RequestMapper<T>

public class RequestMapper<T> extends Object
  • Constructor Details

  • Method Details

    • map

      public RequestMapper.RequestMatch<T> map(String path)
      Match the path to the UriTemplates. Returns the best match, meaning the least remaining path after match.
      Parameters:
      path - path to search UriTemplate for
      Returns:
      best RequestMatch, or null if the path has no match
    • continueMatching

      public RequestMapper.RequestMatch<T> continueMatching(String path, RequestMapper.RequestMatch<T> lastMatch)
      Continue matching for the next best path starting from the last match, meaning the least remaining path after match.
      Parameters:
      path - path to search UriTemplate for
      Returns:
      another RequestMatch. Might return null if all matches are exhausted.
    • dump

      public void dump()
    • getRequestPaths

      public org.jboss.resteasy.reactive.server.mapping.PathMatcher<ArrayList<RequestMapper.RequestPath<T>>> getRequestPaths()
    • getTemplates

      public ArrayList<RequestMapper.RequestPath<T>> getTemplates()