net.sf.asterisk.manager.impl
Class ResponseBuilderImpl

java.lang.Object
  extended by net.sf.asterisk.manager.impl.ResponseBuilderImpl
All Implemented Interfaces:
ResponseBuilder

public class ResponseBuilderImpl
extends java.lang.Object
implements ResponseBuilder

Default implementation of the ResponseBuilder interface.

Version:
$Id: ResponseBuilderImpl.java,v 1.2 2005/04/23 22:56:29 srt Exp $
Author:
srt
See Also:
ManagerResponse

Constructor Summary
ResponseBuilderImpl()
           
 
Method Summary
 ManagerResponse buildResponse(java.util.Map attributes)
          Constructs an instance of ManagerResponse based on a map of attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseBuilderImpl

public ResponseBuilderImpl()
Method Detail

buildResponse

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

Specified by:
buildResponse in interface ResponseBuilder
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.