Class PathDefinition

java.lang.Object
org.hawaiiframework.logging.model.PathDefinition

public class PathDefinition extends Object
A definition for a path and method.
  • Constructor Details

    • PathDefinition

      public PathDefinition()
      Default constructor.
    • PathDefinition

      public PathDefinition(String pattern)
      Constructor for the given pattern.
    • PathDefinition

      public PathDefinition(String method, String pattern)
      Constructor for the given method and pattern.
  • Method Details

    • matches

      public boolean matches(String method, String path)
      Check whether the method and path matches this definition.
    • getPattern

      public String getPattern()
    • setPattern

      public void setPattern(String pattern)
    • getMethod

      public String getMethod()
    • setMethod

      public void setMethod(String method)