public abstract class AbstractSliderResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MetricsAndMonitoring |
metricsAndMonitoring |
protected WebAppApi |
slider |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSliderResource(WebAppApi slider) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.WebApplicationException |
buildException(String path,
Exception ex)
Convert any exception caught into a web application
exception for rethrowing
|
protected void |
mark(String verb,
String path)
Mark an GET operation on a path
|
protected void |
mark(String verb,
String path,
String subpath)
Mark an GET operation on a path
|
protected void |
markDelete(String path,
String subpath)
Mark a GET operation on a path
|
protected void |
markGet(String path)
Mark a GET operation on a path
|
protected void |
markGet(String path,
String subpath)
Mark a GET operation on a path
|
protected void |
markPost(String path,
String subpath)
Mark a GET operation on a path
|
protected void |
markPut(String path,
String subpath)
Mark a GET operation on a path
|
protected javax.ws.rs.core.Response |
redirectToAppWadl(javax.servlet.http.HttpServletRequest request)
Generate a redirect to the WASL
|
protected final WebAppApi slider
protected final MetricsAndMonitoring metricsAndMonitoring
protected AbstractSliderResource(WebAppApi slider)
protected javax.ws.rs.core.Response redirectToAppWadl(javax.servlet.http.HttpServletRequest request)
request - to base the URL onpublic javax.ws.rs.WebApplicationException buildException(String path, Exception ex)
path - path of requestex - exceptionprotected void mark(String verb, String path)
verb - HTTP Verbpath - path relative to slider APIprotected void mark(String verb, String path, String subpath)
verb - HTTP Verbpath - path relative to slider APIprotected void markGet(String path)
path - path relative to slider APIprotected void markGet(String path, String subpath)
path - path relative to slider APIprotected void markPost(String path, String subpath)
path - path relative to slider APIprotected void markPut(String path, String subpath)
path - path relative to slider APICopyright © 2014–2015 The Apache Software Foundation. All rights reserved.