Package org.opennms.web.rest.v1
Class WebAssetsRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.WebAssetsRestService
-
@Component("webAssetsRestService") public class WebAssetsRestService extends OnmsRestService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description WebAssetsRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getResource(java.lang.String assetName, java.lang.String type)
java.util.List<AssetResource>
getResources(java.lang.String assetName)
java.util.List<java.lang.String>
listAssets()
-
Methods inherited from class org.opennms.web.rest.v1.OnmsRestService
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
-
-
-
-
Method Detail
-
listAssets
public java.util.List<java.lang.String> listAssets()
-
getResources
public java.util.List<AssetResource> getResources(java.lang.String assetName)
-
getResource
public javax.ws.rs.core.Response getResource(java.lang.String assetName, java.lang.String type)
-
-