public class SearchProtocol extends java.lang.Object implements IEasProtocol<SearchRequest,SearchResponse>
Constructor and Description |
---|
SearchProtocol() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
address() |
void |
execute(BackendSession bs,
SearchRequest query,
org.vertx.java.core.Handler<SearchResponse> responseHandler) |
void |
parse(OptionalParams optParams,
org.w3c.dom.Document doc,
IPreviousRequestsKnowledge past,
org.vertx.java.core.Handler<SearchRequest> parserResultHandler) |
ISearchSource.Results<SearchResult> |
search(BackendSession bs,
SearchRequest request) |
void |
write(BackendSession bs,
Responder responder,
SearchResponse response,
org.vertx.java.core.Handler<java.lang.Void> completion) |
public void parse(OptionalParams optParams, org.w3c.dom.Document doc, IPreviousRequestsKnowledge past, org.vertx.java.core.Handler<SearchRequest> parserResultHandler)
parse
in interface IEasProtocol<SearchRequest,SearchResponse>
public void execute(BackendSession bs, SearchRequest query, org.vertx.java.core.Handler<SearchResponse> responseHandler)
execute
in interface IEasProtocol<SearchRequest,SearchResponse>
public ISearchSource.Results<SearchResult> search(BackendSession bs, SearchRequest request)
public void write(BackendSession bs, Responder responder, SearchResponse response, org.vertx.java.core.Handler<java.lang.Void> completion)
write
in interface IEasProtocol<SearchRequest,SearchResponse>
public java.lang.String address()
address
in interface IEasProtocol<SearchRequest,SearchResponse>
Copyright © 2021. All Rights Reserved.