public final class SearchServlet
extends javax.servlet.http.HttpServlet
All other init params will set properties on:
Example: http://www.server.com/Search?query=uid=dfisher If you need to pass complex queries, such as (&(cn=daniel*)(surname=fisher)), then the query must be form encoded. If you only want to receive a subset of attributes those can be specified. Example: http://www.server.com/Search?query=uid=dfisher&attrs=givenname&attrs=surname
| Modifier and Type | Field and Description | 
|---|---|
protected Logger | 
logger
Logger for this class. 
 | 
private static String | 
SEARCH_EXECUTOR_CLASS
Custom search executor implementation, value is "searchExecutorClass". 
 | 
private ServletSearchExecutor | 
searchExecutor
Parses servlet requests and performs search operations. 
 | 
private static long | 
serialVersionUID
serial version uid. 
 | 
| Constructor and Description | 
|---|
SearchServlet()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()  | 
void | 
init(javax.servlet.ServletConfig config)  | 
void | 
service(javax.servlet.http.HttpServletRequest request,
       javax.servlet.http.HttpServletResponse response)  | 
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprivate static final String SEARCH_EXECUTOR_CLASS
private static final long serialVersionUID
protected final Logger logger
private ServletSearchExecutor searchExecutor
public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2003-2019 Virginia Tech. All Rights Reserved.