Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs.servlet.mapping
Class RegexSegmentMatcher

java.lang.Object
  extended by org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.SegmentMatcher
      extended by org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.RegexSegmentMatcher

public class RegexSegmentMatcher
extends SegmentMatcher

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from class org.nuxeo.ecm.webengine.jaxrs.servlet.mapping.SegmentMatcher
ANY, ANY_SEGMENT
 
Constructor Summary
RegexSegmentMatcher(Pattern pattern)
           
RegexSegmentMatcher(String regex)
           
 
Method Summary
 boolean matches(String segment)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegexSegmentMatcher

public RegexSegmentMatcher(String regex)

RegexSegmentMatcher

public RegexSegmentMatcher(Pattern pattern)
Method Detail

matches

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

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.