using System;
using System.Net;
using System.Text;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;
using TopWinCMS.BLL;
using TopWinCMS.GatherEngine;
using TopWinCMS.Model;
namespace TopWinCMS.WebUI.Admin.ArticleGather
{
    /// <summary>
    /// Summary description for GatherClassReverse
    /// </summary>
    public class GatherClassReverse : IHttpHandler
    { 
        public void ProcessRequest(HttpContext context)
        {
            context.Response.Expires = 0;
            context.Response.CacheControl = "no-cache";
            context.Response.ContentType = "text/xml";


            string xml = AppMain.GatherClassPageReverse(context.Request["NextClassUrl"], int.Parse(context.Request["ID"]));

            context.Response.Write(xml);
        }
         
        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}