fr.paris.lutece.plugins.search.solr.nutch.web
Class NutchSearchApp

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.nutch.web.NutchSearchApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class NutchSearchApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This class provides search results pages.


Constructor Summary
NutchSearchApp()
           
 
Method Summary
static java.lang.String encodeUrl(javax.servlet.http.HttpServletRequest request, java.lang.String strSource)
          Encode an url string
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns search results
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NutchSearchApp

public NutchSearchApp()
Method Detail

getPage

public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
                                                       int nMode,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                throws fr.paris.lutece.portal.service.message.SiteMessageException
Returns search results

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request.
nMode - The current mode.
plugin - The plugin
Returns:
The HTML code of the page.
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - exception

encodeUrl

public static java.lang.String encodeUrl(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strSource)
                                  throws fr.paris.lutece.portal.service.message.SiteMessageException
Encode an url string

Parameters:
request - the http request
strSource - The string to encode
Returns:
The encoded string
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - exception


Copyright © 2010 Mairie de Paris. All Rights Reserved.