public class ResourceRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected RootSegment |
rootSegment |
protected int |
size |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResource(Class<?>[] classes,
String base) |
protected void |
addResource(Class<?> clazz,
String base) |
static ResourceRegistry |
getInstance()
Singleton accessor
|
ResourceMethod |
getResourceMethod(HttpRequest request)
Find a resource to invoke on
|
RootSegment |
getRoot() |
int |
getSize()
Number of endpoints registered
|
static void |
initialize() |
protected org.cruxframework.crux.core.server.rest.core.registry.ResourceRegistry.RestMethodRegistrationInfo |
processMethod(String base,
Class<?> clazz,
Method method,
Set<String> restMethodNames) |
protected int size
protected RootSegment rootSegment
public static ResourceRegistry getInstance()
public RootSegment getRoot()
public int getSize()
public ResourceMethod getResourceMethod(HttpRequest request)
protected org.cruxframework.crux.core.server.rest.core.registry.ResourceRegistry.RestMethodRegistrationInfo processMethod(String base, Class<?> clazz, Method method, Set<String> restMethodNames)
base - clazz - method - restMethodNames - public static void initialize()
Copyright © 2016. All rights reserved.