Exemplo n.º 1
0
        public void ProcessRequest(HttpContext context)
        {
            this.HttpContext = new HttpContextWrapper(context);

            if (this.IsValidRequest(this.HttpContext))
            {
                var paramserializer = new ParamSerializer();
                var requestParser   = new RequestParser(paramserializer);
                var data            = requestParser.GetData(new RawHttpRequest(this.HttpContext.Request));

                this.ProcessResponse(this.HttpContext, data);
            }
        }