Mercurial > pub > Impl
diff Lib/IMPL/Web/Application.pm @ 328:63709a4e6da0
Security framework refactoring
author | cin |
---|---|
date | Mon, 03 Jun 2013 03:28:01 +0400 |
parents | 546957c50a36 |
children | 97628101b765 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application.pm Thu May 30 20:31:37 2013 +0400 +++ b/Lib/IMPL/Web/Application.pm Mon Jun 03 03:28:01 2013 +0400 @@ -26,8 +26,6 @@ actionFactory => PROP_RW, handlers => PROP_RW | PROP_LIST, security => PROP_RW, - options => PROP_RW, - requestCharset => PROP_RW, output => PROP_RW, location => PROP_RO, _handler => PROP_RW @@ -63,6 +61,8 @@ query => $q, application => $this, ); + + $this->BeforeProcessRequest($action); eval { my $result = $handler->($action); @@ -72,6 +72,8 @@ $result->PrintResponse( $this->output ); }; + + $this->AfterProcessRequest($action); if ($@) { my $e = $@; @@ -130,6 +132,14 @@ } } +sub BeforeProcessRequest { + +} + +sub AfterProcessRequest { + +} + 1; __END__