org.apache.abdera.ext.opensearch.server.processors
Class OpenSearchUrlRequestProcessor

java.lang.Object
  extended by org.apache.abdera.ext.opensearch.server.processors.OpenSearchUrlRequestProcessor
All Implemented Interfaces:
RequestProcessor

public class OpenSearchUrlRequestProcessor
extends Object
implements RequestProcessor

RequestProcessor implementation for processing GET requests to Open Search urls and then delegating the actual search to the proper OpenSearchUrlAdapter.
The proper OpenSearchUrlAdapter is selected by searching the configured OpenSearchInfo for an OpenSearchUrlInfo with a matching search path.

See Also:
#setOpenSearchInfo(OpenSearchInfo)}

Constructor Summary
OpenSearchUrlRequestProcessor()
           
 
Method Summary
 ResponseContext process(RequestContext requestContext, WorkspaceManager workspaceManager, CollectionAdapter collectionAdapter)
          Provide the actual request processing logic.
 void setOpenSearchInfo(OpenSearchInfo openSearchInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSearchUrlRequestProcessor

public OpenSearchUrlRequestProcessor()
Method Detail

process

public ResponseContext process(RequestContext requestContext,
                               WorkspaceManager workspaceManager,
                               CollectionAdapter collectionAdapter)
Description copied from interface: RequestProcessor
Provide the actual request processing logic.

Specified by:
process in interface RequestProcessor
Parameters:
requestContext - 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.
Returns:
A ResponseContext object, as resulted from the request processing.

setOpenSearchInfo

public void setOpenSearchInfo(OpenSearchInfo openSearchInfo)


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.