public class RegistryResource extends AbstractSliderResource
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
static String |
SERVICE_PATH |
metricsAndMonitoring, slider| Constructor and Description |
|---|
RegistryResource(WebAppApi slider)
Construct an instance bonded to a registry
|
| Modifier and Type | Method and Description |
|---|---|
PathEntryResource |
getRoot(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
PathEntryResource |
lookup(String path,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
PathEntryResource |
resolvePath(String path)
Do the actual processing of requests to responses; can be directly
invoked for testing.
|
buildException, mark, mark, markDelete, markGet, markGet, markPost, markPut, redirectToAppWadlprotected static final org.slf4j.Logger log
public static final String SERVICE_PATH
public RegistryResource(WebAppApi slider)
slider - slider APIpublic PathEntryResource getRoot(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo)
public PathEntryResource lookup(String path, @Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo)
public PathEntryResource resolvePath(String path) throws javax.ws.rs.WebApplicationException
path - path to queryjavax.ws.rs.WebApplicationException - on any failure.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.