@Path(value="/search") @Produces(value="application/json") public class SearchResource extends Object
| Constructor and Description |
|---|
SearchResource(org.opennms.newts.api.search.Searcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
Collection<SearchResultDTO> |
search(com.google.common.base.Optional<String> query,
com.google.common.base.Optional<String> contextId) |
public SearchResource(org.opennms.newts.api.search.Searcher searcher)
@GET @Timed public Collection<SearchResultDTO> search(@QueryParam(value="q") com.google.common.base.Optional<String> query, @QueryParam(value="context") com.google.common.base.Optional<String> contextId)
Copyright © 2017. All rights reserved.