Interface WebApplicationServerRequestMapper

All Known Implementing Classes:
DefaultWebApplicationServerRequestMapper

public interface WebApplicationServerRequestMapper
The WebApplicationServerRequestMapper API.
Author:
Manfred Riem ([email protected])
  • Method Summary

    Modifier and Type Method Description
    java.util.Set<java.lang.String> addMapping​(WebApplication webApplication, java.lang.String... urlPatterns)
    Add a mapping.
    WebApplication findMapping​(java.lang.String path)
    Find a mapping for the given path.
  • Method Details

    • addMapping

      java.util.Set<java.lang.String> addMapping​(WebApplication webApplication, java.lang.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​(java.lang.String path)
      Find a mapping for the given path.
      Parameters:
      path - the path.
      Returns:
      the mapping, or null if not found.