public class OpenSearchUrlRequestProcessor extends java.lang.Object implements RequestProcessor
RequestProcessor implementation for processing GET requests to Open Search urls
and then delegating the actual search to the proper OpenSearchUrlAdapter.OpenSearchUrlAdapter is selected by searching the configured
OpenSearchInfo for an OpenSearchUrlInfo
with a matching search path.#setOpenSearchInfo(OpenSearchInfo)}| Constructor and Description |
|---|
OpenSearchUrlRequestProcessor() |
| Modifier and Type | Method and Description |
|---|---|
ResponseContext |
process(RequestContext requestContext,
WorkspaceManager workspaceManager,
CollectionAdapter collectionAdapter)
Provide the actual request processing logic.
|
void |
setOpenSearchInfo(OpenSearchInfo openSearchInfo) |
public ResponseContext process(RequestContext requestContext, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
RequestProcessorprocess in interface RequestProcessorrequestContext - The RequestContext object,
holding information about the request to process.workspaceManager - The WorkspaceManager object,
holding information useful for request processing.collectionAdapter - The CollectionAdapter object,
holding information useful for request processing; may be null if not needed.ResponseContext object, as resulted from the request processing.public void setOpenSearchInfo(OpenSearchInfo openSearchInfo)
Copyright © 2010 - 2020 Adobe. All Rights Reserved