org.resteasy
Class PathSegmentNode

java.lang.Object
  extended by org.resteasy.PathSegmentNode

public class PathSegmentNode
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
PathSegmentNode()
           
 
Method Summary
 void addChild(java.lang.String[] path, int pathIndex, ResourceLocator locator)
           
 void addChild(java.lang.String[] path, int pathIndex, ResourceMethod invoker, boolean wildcard)
           
 ResourceInvoker findResourceInvoker(HttpRequest request, HttpResponse response, int pathIndex)
           
 PathSegmentNode getChild(java.lang.String segment)
           
 ResourceInvoker removeChild(java.lang.String[] path, int pathIndex, java.lang.reflect.Method method)
           
 ResourceInvoker removeLocator(java.lang.String[] path, int pathIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathSegmentNode

public PathSegmentNode()
Method Detail

addChild

public void addChild(java.lang.String[] path,
                     int pathIndex,
                     ResourceMethod invoker,
                     boolean wildcard)

addChild

public void addChild(java.lang.String[] path,
                     int pathIndex,
                     ResourceLocator locator)

removeChild

public ResourceInvoker removeChild(java.lang.String[] path,
                                   int pathIndex,
                                   java.lang.reflect.Method method)

removeLocator

public ResourceInvoker removeLocator(java.lang.String[] path,
                                     int pathIndex)

getChild

public PathSegmentNode getChild(java.lang.String segment)

findResourceInvoker

public ResourceInvoker findResourceInvoker(HttpRequest request,
                                           HttpResponse response,
                                           int pathIndex)


Copyright © 2008. All Rights Reserved.