Class DefaultWebApplicationRequestMapping

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

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

    Constructors 
    Constructor Description
    DefaultWebApplicationRequestMapping​(java.lang.String mapping)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getPath()
    Get the mapping.
    boolean isExact()
    Is this an exact match.
    boolean isExtension()
    Is this an extension match.
    void setExact​(boolean exact)
    Set the exact flag.
    void setExtension​(boolean extension)
    Set the extension flag.
    void setMapping​(java.lang.String mapping)
    Set the mapping.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getPath

      public java.lang.String getPath()
      Get the mapping.
      Specified by:
      getPath in interface WebApplicationRequestMapping
      Returns:
      the mapping.
    • 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.
    • setMapping

      public void setMapping​(java.lang.String mapping)
      Set the mapping.
      Parameters:
      mapping - the mapping.