net.sf.asterisk.manager
Interface ResponseBuilder

All Known Implementing Classes:
ResponseBuilderImpl

public interface ResponseBuilder

Transforms maps of attributes to instances of ManagerResponse.

Version:
$Id: ResponseBuilder.java,v 1.2 2005/03/05 13:34:23 srt Exp $
Author:
srt
See Also:
ManagerResponse

Method Summary
 ManagerResponse buildResponse(java.util.Map attributes)
          Constructs an instance of ManagerResponse based on a map of attributes.
 

Method Detail

buildResponse

ManagerResponse buildResponse(java.util.Map attributes)
Constructs an instance of ManagerResponse based on a map of attributes.

Parameters:
attributes - the attributes and their values. The keys of this map must be all lower case.
Returns:
the response with the given attributes.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.