org.apache.directory.ldap.client.api.message
Interface ResponseWithResult

All Superinterfaces:
Message, Response
All Known Implementing Classes:
AbstractResponseWithResult, AddResponse, BindResponse, CompareResponse, DeleteResponse, ExtendedIntermediateResponse, ExtendedResponse, ModifyDnResponse, ModifyResponse, SearchResultDone

public interface ResponseWithResult
extends Response

A request who's one or more responses contains an LdapResult.

Version:
$Rev: 760984 $
Author:
Apache Directory Project

Method Summary
 LdapResult getLdapResult()
          Returns the response's result
 void setLdapResult(LdapResult ldapResult)
          Sets the result into the response.
 
Methods inherited from interface org.apache.directory.ldap.client.api.message.Message
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId
 

Method Detail

getLdapResult

LdapResult getLdapResult()
Returns the response's result

Returns:
a result containing response with defaults and the messageId set in response to this specific request

setLdapResult

void setLdapResult(LdapResult ldapResult)
Sets the result into the response.

Parameters:
ldapResult - The LdapResult instance associated with this response


Copyright © 2009-2011 Apache Software Foundation. All Rights Reserved.