Interface FilterMapping

All Known Implementing Classes:
DefaultFilterMapping

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

    Modifier and Type
    Method
    Description
    default jakarta.servlet.DispatcherType
    Returns the dispatcher type.
    Returns the filter name.
    Returns the URL pattern.
  • Method Details

    • getFilterName

      String getFilterName()
      Returns the filter name.
      Returns:
      the filter name
    • getUrlPattern

      String getUrlPattern()
      Returns the URL pattern.
      Returns:
      the URL pattern
    • getDispatcherType

      default jakarta.servlet.DispatcherType getDispatcherType()
      Returns the dispatcher type.

      The dispatcher type is the kind of dispatch that the filter mapping applies to. Default is REQUEST, which represents the request from the user to the system.

      Returns:
      the dispatcher type