Package org.ldaptive.extended
Class AbstractExtendedResponse<T>
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description AbstractExtendedResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
value
private T value
Response value.
-
-
Method Detail
-
getValue
public T getValue()
Description copied from interface:ExtendedResponse
Returns the response value associated with this extended operation or null if no value was generated by this operation.- Specified by:
getValue
in interfaceExtendedResponse<T>
- Returns:
- response value
-
setValue
protected void setValue(T t)
Sets the response value for this extended operation.- Parameters:
t
- response value
-
-