SDN Controller Programming Guide
164
@RsDocIgnore
public Response internalMethod() {
...
}
}
Trying the REST API with RSdoc
At this point try the REST API using the RSdoc, which is the preferred method. Follow the steps from
Rsdoc Live Reference on page 16 to open Rsdoc and authenticate, and then try the sample
application’s REST API as illustrated in Figure 55. Modify SwitchManager to return some fake data
in find(SwitchFilte, SortSpecification<SwitchSortKey>) method and try GET switches from the
RSdoc.
Figure 55 Trying Application’s REST API with RSdoc Example