Package eu.clarin.sru.server
Class SRUServer
- java.lang.Object
- 
- eu.clarin.sru.server.SRUServer
 
- 
 public final class SRUServer extends Object SRU/CQL protocol implementation for the server-side (SRU/S). This class implements SRU/CQL version 1.1 and and 1.2.
- 
- 
Constructor SummaryConstructors Constructor Description SRUServer(SRUServerConfig config, SRUQueryParserRegistry queryParsers, SRUAuthenticationInfoProvider authenticationInfoProvider, SRUSearchEngine searchEngine)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Handle a SRU request.
 
- 
- 
- 
Constructor Detail- 
SRUServerpublic SRUServer(SRUServerConfig config, SRUQueryParserRegistry queryParsers, SRUAuthenticationInfoProvider authenticationInfoProvider, SRUSearchEngine searchEngine) throws SRUConfigException Constructor.- Parameters:
- config- a- SRUServerConfigobject
- queryParsers- a- SRUQueryParserRegistryobject
- authenticationInfoProvider- a- SRUAuthenticationInfoProvideror- null
- searchEngine- an object implementing the- SRUSearchEngineinterface
- Throws:
- NullPointerException- if config, queryParserRegistry or searchEngine is- null
- SRUConfigException- if an error occurred with configuration or initialization of the server
 
 
- 
 
-