public class DemoResource
extends org.onlab.rest.BaseResource
| Constructor and Description |
|---|
DemoResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
flowTest(InputStream input)
Start the flow test.
|
javax.ws.rs.core.Response |
setup(InputStream input)
Set up the flow test.
|
javax.ws.rs.core.Response |
tearDown()
Tear down the flow test.
|
public javax.ws.rs.core.Response flowTest(InputStream input) throws IOException
input - JSON describing how to run the flow testIOException - if the JSON processing failspublic javax.ws.rs.core.Response setup(InputStream input) throws IOException
input - JSON describing how to configure the flow testIOException - if the JSON processing failspublic javax.ws.rs.core.Response tearDown()
Copyright © 2016. All rights reserved.