public class AclWebResource
extends org.onosproject.rest.AbstractWebResource
| Constructor and Description |
|---|
AclWebResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addAclRule(InputStream stream)
Add a new ACL rule.
|
javax.ws.rs.core.Response |
clearAcl()
Remove all ACL rules.
|
javax.ws.rs.core.Response |
queryAclRule()
Get all ACL rules.
|
javax.ws.rs.core.Response |
removeAclRule(String id)
Remove ACL rule.
|
public javax.ws.rs.core.Response queryAclRule()
public javax.ws.rs.core.Response addAclRule(InputStream stream) throws URISyntaxException
stream - JSON data describing the ruleURISyntaxException - uri syntax exceptionpublic javax.ws.rs.core.Response removeAclRule(String id)
id - ACL rule id (in hex string format)public javax.ws.rs.core.Response clearAcl()
Copyright © 2015. All rights reserved.