| Package | Description |
|---|---|
| org.cruxframework.crux.core.server.rest.core.dispatch | |
| org.cruxframework.crux.core.server.rest.core.registry |
| Constructor and Description |
|---|
StateHandler(ResourceMethod resourceMethod,
HttpRequest request,
HttpResponse response) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<ResourceMethod>> |
RootSegment.bounded |
| Modifier and Type | Method and Description |
|---|---|
ResourceMethod |
ResourceRegistry.getResourceMethod(HttpRequest request)
Find a resource to invoke on
|
protected ResourceMethod |
Segment.match(String httpMethod,
HttpRequest request) |
protected ResourceMethod |
RootSegment.matchChildren(HttpRequest request,
String path,
int start) |
ResourceMethod |
PathParamSegment.matchPattern(HttpRequest request,
String path,
int start) |
ResourceMethod |
RootSegment.matchRoot(HttpRequest request) |
ResourceMethod |
RootSegment.matchRoot(HttpRequest request,
int start) |
ResourceMethod |
SimpleSegment.matchSimple(HttpRequest request,
String path,
int start) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<ResourceMethod>> |
RootSegment.getBounded()
Return a map of paths and what resource methods they are bound to
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Segment.addMethod(ResourceMethod invoker) |
protected void |
RootSegment.addPath(String[] segments,
int index,
ResourceMethod invoker) |
void |
RootSegment.addPath(String path,
ResourceMethod invoker) |
Copyright © 2016. All rights reserved.