Class WildcardSegmentMatcher

java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.SegmentMatcher
org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.WildcardSegmentMatcher

public class WildcardSegmentMatcher extends SegmentMatcher
Author:
Bogdan Stefanescu
  • Field Details

    • pattern

      protected final char[] pattern
  • Constructor Details

    • WildcardSegmentMatcher

      public WildcardSegmentMatcher(String pattern)
    • WildcardSegmentMatcher

      public WildcardSegmentMatcher(char[] pattern)
  • Method Details

    • matches

      public boolean matches(String segment)
      Specified by:
      matches in class SegmentMatcher
    • matches

      public boolean matches(char[] segment, int soff, int poff)
    • toString

      public String toString()
      Overrides:
      toString in class Object