/*
* Created by SharpDevelop.
* User: xiaoming.yin
* Date: 2012/5/30
* Time: 14:21
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using Aliyun.Api.LOG.Common.Authentication;
using Aliyun.Api.LOG.Common.Handlers;
namespace Aliyun.Api.LOG.Common.Communication
{
///
/// Description of ExecutionContext.
///
internal class ExecutionContext
{
///
/// The default encoding (charset name).
///
private const string DefaultEncoding = "utf-8";
private IList _responseHandlers = new List();
///
/// Gets or sets the charset.
///
public string Charset { get; set; }
///
/// Gets or sets the request signer.
///
public IRequestSigner Signer { get; set; }
///
/// Gets or sets the credentials.
///
public ServiceCredentials Credentials { get; set ;}
///
/// Gets the list of .
///
public IList ResponseHandlers
{
get { return _responseHandlers; }
}
///
/// Constructor.
///
public ExecutionContext()
{
this.Charset = DefaultEncoding;
}
}
}