railo.runtime.rest.path
Class ExpressionPath

java.lang.Object
  extended by railo.runtime.rest.path.Path
      extended by railo.runtime.rest.path.ExpressionPath

public class ExpressionPath
extends Path


Constructor Summary
ExpressionPath(Pattern pattern, List<String> variables)
           
 
Method Summary
static Path getInstance(String path)
           
 boolean match(Struct result, String path)
          check if given path part match this path Path part defintion
 String toString()
           
 
Methods inherited from class railo.runtime.rest.path.Path
init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressionPath

public ExpressionPath(Pattern pattern,
                      List<String> variables)
Method Detail

getInstance

public static Path getInstance(String path)

match

public boolean match(Struct result,
                     String path)
Description copied from class: Path
check if given path part match this path Path part defintion

Specified by:
match in class Path
Parameters:
result - fill all key value pairs extracte from path to this Map
path - path to check
Returns:
true if the given path match, false otherwise

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Railo