Created
July 27, 2016 09:47
-
-
Save anonymous/7ff2f0169e66b90f5cf2cdfd81f385f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TransportSecureSearchAction | |
extends HandledTransportAction<SearchRequest, SearchResponse>{ | |
private final TransportSearchAction tsa; | |
@Inject | |
public TransportSecureSearchAction(Settings settings, ThreadPool threadPool, SearchPhaseController searchPhaseController, | |
TransportService transportService, SearchServiceTransportAction searchService, | |
ClusterService clusterService, ActionFilters actionFilters, IndexNameExpressionResolver | |
indexNameExpressionResolver) { | |
super(settings, SecureSearchAction.NAME, threadPool, transportService, actionFilters, indexNameExpressionResolver, SearchRequest.class); | |
tsa = new TransportSearchAction(settings, threadPool, searchPhaseController, transportService, searchService, clusterService, actionFilters, indexNameExpressionResolver); | |
} | |
@Override | |
protected void doExecute(SearchRequest searchRequest, ActionListener<SearchResponse> listener) { | |
logger.info("Entering the doExecute of the secureRequest"); | |
logger.debug("after getting extra source"); | |
tsa.doExecute(searchRequest, listener); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment