railo.runtime.rest.path
Class LiteralPath

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

public class LiteralPath
extends Path


Constructor Summary
LiteralPath(String path)
           
 
Method Summary
 boolean match(Struct variables, 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

LiteralPath

public LiteralPath(String path)
Method Detail

match

public boolean match(Struct variables,
                     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:
variables - 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