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 org.slf4j.Logger |
logger
Logger for this class.
|
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, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
Copyright © 2016. All rights reserved.