Search in sources :

Example 1 with SearchAllActionHandler

use of com.willshex.blogwt.server.api.search.action.SearchAllActionHandler in project blogwt by billy1380.

the class SearchJsonServlet method processAction.

@Override
protected String processAction(String action, JsonObject request) {
    String output = "null";
    if ("SearchAll".equals(action)) {
        SearchAllRequest input = new SearchAllRequest();
        input.fromJson(request);
        output = new SearchAllActionHandler().handle(input).toString();
    }
    return output;
}
Also used : SearchAllRequest(com.willshex.blogwt.shared.api.search.call.SearchAllRequest) SearchAllActionHandler(com.willshex.blogwt.server.api.search.action.SearchAllActionHandler)

Aggregations

SearchAllActionHandler (com.willshex.blogwt.server.api.search.action.SearchAllActionHandler)1 SearchAllRequest (com.willshex.blogwt.shared.api.search.call.SearchAllRequest)1