Package org.ldaptive.extended
Interface ExtendedResponse<T>
-
- Type Parameters:
T
- type of response value
- All Known Implementing Classes:
AbstractExtendedResponse
,CancelResponse
,FastBindResponse
,PasswordModifyResponse
,WhoAmIResponse
public interface ExtendedResponse<T>
Marker interface for ldap extended responses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
decode(byte[] encoded)
Initializes this response with the supplied BER encoded data.String
getOID()
Returns the OID for this extended response.T
getValue()
Returns the response value associated with this extended operation or null if no value was generated by this operation.
-
-
-
Method Detail
-
getOID
String getOID()
Returns the OID for this extended response. Response OIDs are optional and this value may be null.- Returns:
- oid
-
decode
void decode(byte[] encoded)
Initializes this response with the supplied BER encoded data.- Parameters:
encoded
- BER encoded response
-
getValue
T getValue()
Returns the response value associated with this extended operation or null if no value was generated by this operation.- Returns:
- response value
-
-