org.ldaptive.extended
Class AbstractExtendedResponse<T>

java.lang.Object
  extended by org.ldaptive.extended.AbstractExtendedResponse<T>
Type Parameters:
T - type of response value
All Implemented Interfaces:
ExtendedResponse<T>
Direct Known Subclasses:
CancelResponse, FastBindResponse, PasswordModifyResponse, WhoAmIResponse

public abstract class AbstractExtendedResponse<T>
extends Object
implements ExtendedResponse<T>

Provides common implementation for extended responses.

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

Constructor Summary
AbstractExtendedResponse()
           
 
Method Summary
 T getValue()
          Returns the response value associated with this extended operation or null if no value was generated by this operation.
protected  void setValue(T t)
          Sets the response value for this extended operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ldaptive.extended.ExtendedResponse
decode, getOID
 

Constructor Detail

AbstractExtendedResponse

public AbstractExtendedResponse()
Method Detail

getValue

public T getValue()
Returns the response value associated with this extended operation or null if no value was generated by this operation.

Specified by:
getValue in interface ExtendedResponse<T>
Returns:
response value

setValue

protected void setValue(T t)
Sets the response value for this extended operation.

Parameters:
t - response value


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