public class RootSegment extends Segment
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<ResourceInvoker>> |
bounded |
protected Map<String,PathParamSegment> |
locatorExpressions |
protected Map<String,PathParamSegment> |
resourceExpressions |
protected Map<String,SimpleSegment> |
simpleSegments |
protected List<PathParamSegment> |
sortedLocatorExpressions |
protected List<PathParamSegment> |
sortedResourceExpressions |
ignoreParameters, ignoreParametersSet, locator, methods, RESTEASY_CHOSEN_ACCEPT
Constructor and Description |
---|
RootSegment() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPath(String[] segments,
int index,
ResourceInvoker invoker) |
void |
addPath(String path,
ResourceInvoker invoker) |
Map<String,List<ResourceInvoker>> |
getBounded()
Return a map of paths and what resource methods they are bound to
|
protected boolean |
isEmpty() |
protected boolean |
isLocator(Method method) |
protected ResourceInvoker |
matchChildren(HttpRequest request,
String path,
int start) |
ResourceInvoker |
matchRoot(HttpRequest request) |
ResourceInvoker |
matchRoot(HttpRequest request,
int start) |
protected ResourceInvoker |
removePath(String[] segments,
int index,
Method method) |
ResourceInvoker |
removePath(String path,
Method method) |
findIgnoreParameters, match
protected Map<String,SimpleSegment> simpleSegments
protected Map<String,PathParamSegment> resourceExpressions
protected List<PathParamSegment> sortedResourceExpressions
protected Map<String,PathParamSegment> locatorExpressions
protected List<PathParamSegment> sortedLocatorExpressions
protected Map<String,List<ResourceInvoker>> bounded
public Map<String,List<ResourceInvoker>> getBounded()
protected void addPath(String[] segments, int index, ResourceInvoker invoker)
protected boolean isLocator(Method method)
protected ResourceInvoker removePath(String[] segments, int index, Method method)
public void addPath(String path, ResourceInvoker invoker)
public ResourceInvoker removePath(String path, Method method)
protected ResourceInvoker matchChildren(HttpRequest request, String path, int start)
public ResourceInvoker matchRoot(HttpRequest request)
public ResourceInvoker matchRoot(HttpRequest request, int start)
Copyright © 2018 JBoss by Red Hat. All rights reserved.