public class QueryTagController extends Object implements sirius.web.controller.Controller
QueryTagSuggester
s.
Provides an JSON service which collects all suggestions provided by the available suggesters.
Constructor and Description |
---|
QueryTagController() |
Modifier and Type | Method and Description |
---|---|
void |
onError(sirius.web.http.WebContext ctx,
sirius.kernel.health.HandledException error) |
void |
suggestions(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out,
String type)
Provides suggestions for the given entity type and query.
|
public void onError(sirius.web.http.WebContext ctx, sirius.kernel.health.HandledException error)
onError
in interface sirius.web.controller.Controller
public void suggestions(sirius.web.http.WebContext ctx, sirius.web.services.JSONStructuredOutput out, String type)
ctx
- the current requestout
- the JSON responsetype
- the entity type for provide suggestions forCopyright © 2018. All rights reserved.