org.jboss.resteasy.core.registry
Class RootSegment
java.lang.Object
org.jboss.resteasy.core.registry.Segment
org.jboss.resteasy.core.registry.RootSegment
- Direct Known Subclasses:
- SimpleSegment
public class RootSegment
- extends Segment
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
protected void |
addPath(java.lang.String[] segments,
int index,
ResourceInvoker invoker)
|
void |
addPath(java.lang.String path,
ResourceInvoker invoker)
|
java.util.Map<java.lang.String,java.util.List<ResourceInvoker>> |
getBounded()
Return a map of paths and what resource methods they are bound to |
protected boolean |
isEmpty()
|
protected boolean |
isLocator(java.lang.reflect.Method method)
|
protected ResourceInvoker |
matchChildren(HttpRequest request,
java.lang.String path,
int start)
|
ResourceInvoker |
matchRoot(HttpRequest request)
|
ResourceInvoker |
matchRoot(HttpRequest request,
int start)
|
protected ResourceInvoker |
removePath(java.lang.String[] segments,
int index,
java.lang.reflect.Method method)
|
ResourceInvoker |
removePath(java.lang.String path,
java.lang.reflect.Method method)
|
Methods inherited from class org.jboss.resteasy.core.registry.Segment |
match |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
simpleSegments
protected java.util.Map<java.lang.String,SimpleSegment> simpleSegments
resourceExpressions
protected java.util.Map<java.lang.String,PathParamSegment> resourceExpressions
sortedResourceExpressions
protected java.util.List<PathParamSegment> sortedResourceExpressions
locatorExpressions
protected java.util.Map<java.lang.String,PathParamSegment> locatorExpressions
sortedLocatorExpressions
protected java.util.List<PathParamSegment> sortedLocatorExpressions
bounded
protected java.util.Map<java.lang.String,java.util.List<ResourceInvoker>> bounded
RootSegment
public RootSegment()
getBounded
public java.util.Map<java.lang.String,java.util.List<ResourceInvoker>> getBounded()
- Return a map of paths and what resource methods they are bound to
- Returns:
isEmpty
protected boolean isEmpty()
- Overrides:
isEmpty
in class Segment
addPath
protected void addPath(java.lang.String[] segments,
int index,
ResourceInvoker invoker)
isLocator
protected boolean isLocator(java.lang.reflect.Method method)
removePath
protected ResourceInvoker removePath(java.lang.String[] segments,
int index,
java.lang.reflect.Method method)
addPath
public void addPath(java.lang.String path,
ResourceInvoker invoker)
removePath
public ResourceInvoker removePath(java.lang.String path,
java.lang.reflect.Method method)
matchChildren
protected ResourceInvoker matchChildren(HttpRequest request,
java.lang.String path,
int start)
matchRoot
public ResourceInvoker matchRoot(HttpRequest request)
matchRoot
public ResourceInvoker matchRoot(HttpRequest request,
int start)
Copyright © 2010. All Rights Reserved.