org.ldaptive.servlets
Interface ServletSearchExecutor

All Known Implementing Classes:
AbstractServletSearchExecutor, AttributeValueServletSearchExecutor, Dsmlv1ServletSearchExecutor, LdifServletSearchExecutor

public interface ServletSearchExecutor

Interface to encapsulate servlet search operations.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Method Summary
 void close()
          Closes any resources associated with this servlet search executor.
 void initialize(javax.servlet.ServletConfig config)
          Prepares this servlet search executor for use.
 void search(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Reads parameters from the request, performs an ldap search, and writes the result to the response.
 

Method Detail

initialize

void initialize(javax.servlet.ServletConfig config)
Prepares this servlet search executor for use.

Parameters:
config - to initialize this object with

search

void search(javax.servlet.http.HttpServletRequest request,
            javax.servlet.http.HttpServletResponse response)
            throws LdapException,
                   IOException
Reads parameters from the request, performs an ldap search, and writes the result to the response.

Parameters:
request - servlet request to read search parameters from
response - servlet response to write ldap search result to
Throws:
LdapException - if an error occurs performing the search
IOException - if an error occurs writing to the response

close

void close()
Closes any resources associated with this servlet search executor.



Copyright © 2003-2015 Virginia Tech. All Rights Reserved.