com.endeca.b2creference.services.query.impl
Class RedirectPostProcessor

java.lang.Object
  extended by com.endeca.b2creference.services.query.impl.DefaultQueryProcessor
      extended by com.endeca.b2creference.services.query.impl.RedirectPostProcessor
All Implemented Interfaces:
QueryProcessor

public class RedirectPostProcessor
extends DefaultQueryProcessor


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.endeca.b2creference.services.query.QueryProcessor
QueryProcessor.PostProcessStatus
 
Constructor Summary
RedirectPostProcessor()
           
 
Method Summary
 QueryProcessor.PostProcessStatus postProcessResults(javax.servlet.http.HttpServletRequest request, com.endeca.content.ene.ENEContentQuery query, PageResult pageResult, com.endeca.soleng.urlformatter.UrlState urlState)
          Checks to see if there is a keyword redirect in the supplements.
 
Methods inherited from class com.endeca.b2creference.services.query.impl.DefaultQueryProcessor
preProcessQuery
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectPostProcessor

public RedirectPostProcessor()
Method Detail

postProcessResults

public QueryProcessor.PostProcessStatus postProcessResults(javax.servlet.http.HttpServletRequest request,
                                                           com.endeca.content.ene.ENEContentQuery query,
                                                           PageResult pageResult,
                                                           com.endeca.soleng.urlformatter.UrlState urlState)
Checks to see if there is a keyword redirect in the supplements. Sets the redirect URL on the page results object and returns false to stop continued processing if a redirect is found, does not make any modifications otherwise.

Specified by:
postProcessResults in interface QueryProcessor
Overrides:
postProcessResults in class DefaultQueryProcessor