@Component(value="onmsIpInterfaceResource") @Transactional public class OnmsIpInterfaceResource extends OnmsRestService
OnmsRestService.ComparisonOperation
DEFAULT_LIMIT
Constructor and Description |
---|
OnmsIpInterfaceResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addIpInterface(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria,
OnmsIpInterface ipInterface)
addIpInterface
|
javax.ws.rs.core.Response |
deleteIpInterface(String nodeCriteria,
String ipAddress)
deleteIpInterface
|
OnmsIpInterface |
getIpInterface(String nodeCriteria,
String ipAddress)
getIpInterface
|
OnmsIpInterfaceList |
getIpInterfaces(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria)
getIpInterfaces
|
OnmsMonitoredServiceResource |
getServices(javax.ws.rs.container.ResourceContext context)
getServices
|
javax.ws.rs.core.Response |
updateIpInterface(javax.ws.rs.core.UriInfo uriInfo,
String nodeCriteria,
String ipAddress,
MultivaluedMapImpl params)
updateIpInterface
|
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
@GET @Produces(value={"application/xml","application/json"}) public OnmsIpInterfaceList getIpInterfaces(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeCriteria") String nodeCriteria)
getIpInterfaces
nodeCriteria
- a String
object.OnmsIpInterfaceList
object.@GET @Produces(value={"application/xml","application/json"}) @Path(value="{ipAddress}") public OnmsIpInterface getIpInterface(@PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress)
getIpInterface
nodeCriteria
- a String
object.ipAddress
- a String
object.OnmsIpInterface
object.@POST @Consumes(value="application/xml") public javax.ws.rs.core.Response addIpInterface(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeCriteria") String nodeCriteria, OnmsIpInterface ipInterface)
addIpInterface
nodeCriteria
- a String
object.ipInterface
- a OnmsIpInterface
object.Response
object.@PUT @Consumes(value="application/x-www-form-urlencoded") @Path(value="{ipAddress}") public javax.ws.rs.core.Response updateIpInterface(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress, MultivaluedMapImpl params)
updateIpInterface
nodeCriteria
- a String
object.ipAddress
- a String
object.params
- a MultivaluedMapImpl
object.Response
object.@DELETE @Path(value="{ipAddress}") public javax.ws.rs.core.Response deleteIpInterface(@PathParam(value="nodeCriteria") String nodeCriteria, @PathParam(value="ipAddress") String ipAddress)
deleteIpInterface
@Path(value="{ipAddress}/services") public OnmsMonitoredServiceResource getServices(@Context javax.ws.rs.container.ResourceContext context)
getServices
org.opennms.web.rest.OnmsMonitoredServiceResource
object.Copyright © 2016. All rights reserved.