org.ldaptive.servlets
Class AttributeValueServletSearchExecutor

java.lang.Object
  extended by org.ldaptive.servlets.AbstractServletSearchExecutor
      extended by org.ldaptive.servlets.AttributeValueServletSearchExecutor
All Implemented Interfaces:
ServletSearchExecutor

public class AttributeValueServletSearchExecutor
extends AbstractServletSearchExecutor

Writes a single attribute value to the HTTP response. Useful for providing a mechanism to download large LDAP attributes, such as certificates and photos. See AbstractServletSearchExecutor.

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

Field Summary
 
Fields inherited from class org.ldaptive.servlets.AbstractServletSearchExecutor
logger
 
Constructor Summary
AttributeValueServletSearchExecutor()
           
 
Method Summary
protected  void writeResponse(SearchResult result, javax.servlet.http.HttpServletResponse response)
          Writes the supplied search result to the servlet response output stream.
 
Methods inherited from class org.ldaptive.servlets.AbstractServletSearchExecutor
close, createProperties, initialize, search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValueServletSearchExecutor

public AttributeValueServletSearchExecutor()
Method Detail

writeResponse

protected void writeResponse(SearchResult result,
                             javax.servlet.http.HttpServletResponse response)
                      throws IOException
Writes the supplied search result to the servlet response output stream.

Specified by:
writeResponse in class AbstractServletSearchExecutor
Parameters:
result - search result to write
response - to write to
Throws:
IOException - if an error occurs writing to the response


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