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.

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

Method Summary
 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


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