Class DefaultWebApplicationRequestMapping

java.lang.Object
cloud.piranha.webapp.impl.DefaultWebApplicationRequestMapping
All Implemented Interfaces:
WebApplicationRequestMapping

public class DefaultWebApplicationRequestMapping extends Object implements WebApplicationRequestMapping
The default WebApplicationRequestMapping.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • DefaultWebApplicationRequestMapping

      public DefaultWebApplicationRequestMapping(String pattern)
      Constructor.
      Parameters:
      pattern - the pattern.
  • Method Details

    • getMatchValue

      public String getMatchValue()
      Returns the matchValue.
      Specified by:
      getMatchValue in interface WebApplicationRequestMapping
      Returns:
      the matchValue
    • getPattern

      public String getPattern()
      Returns the pattern.
      Specified by:
      getPattern in interface WebApplicationRequestMapping
      Returns:
      the pattern
    • isExact

      public boolean isExact()
      Is this an exact match.
      Specified by:
      isExact in interface WebApplicationRequestMapping
      Returns:
      true it it is, false otherwise.
    • isExtension

      public boolean isExtension()
      Is this an extension match.
      Specified by:
      isExtension in interface WebApplicationRequestMapping
      Returns:
      true if it is, false otherwise.
    • setExact

      public void setExact(boolean exact)
      Set the exact flag.
      Parameters:
      exact - the exact flag.
    • setExtension

      public void setExtension(boolean extension)
      Set the extension flag.
      Parameters:
      extension - the extension flag.
    • setMatchValue

      public void setMatchValue(String matchValue)
      Set the matchValue.
      Parameters:
      matchValue - the matchValue to set
    • setPattern

      public void setPattern(String pattern)
      Set the pattern.
      Parameters:
      pattern - the pattern.