NotSupportedHandler.cs 487 B

1234567891011121314151617181920212223
  1. using System.Web;
  2. namespace SiteCore.ueditor
  3. {
  4. /// <summary>
  5. /// NotSupportedHandler 的摘要说明
  6. /// </summary>
  7. public class NotSupportedHandler : Handler
  8. {
  9. public NotSupportedHandler(HttpContext context)
  10. : base(context)
  11. {
  12. }
  13. public override void Process()
  14. {
  15. WriteJson(new
  16. {
  17. state = "action 参数为空或者 action 不被支持。"
  18. });
  19. }
  20. }
  21. }