Interface WebApplicationServerRequestMapper

  • All Known Implementing Classes:
    DefaultWebApplicationServerRequestMapper

    public interface WebApplicationServerRequestMapper
    The WebApplicationServerRequestMapper API.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Method Detail

      • addMapping

        Set<String> addMapping​(WebApplication webApplication,
                               String... urlPatterns)
        Add a mapping.
        Parameters:
        webApplication - the web application.
        urlPatterns - the url patterns to map (aka mappings).
        Returns:
        the url patterns added.
      • findMapping

        WebApplication findMapping​(String path)
        Find a mapping for the given path.
        Parameters:
        path - the path.
        Returns:
        the mapping, or null if not found.