File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ implementation
51
51
52
52
DispatcherImpl,
53
53
RequestResponseFactoryImpl,
54
- MiddlewareExecutorImpl;
54
+ MiddlewareExecutorImpl,
55
+ WithExceptMiddlewareExecutorImpl;
55
56
56
57
constructor TDispatcherFactory.create(
57
58
const appMiddlewaresInst : IMiddlewareLinkList;
@@ -71,7 +72,9 @@ implementation
71
72
72
73
function TDispatcherFactory.createMiddlewareExecutor () : IMiddlewareExecutor;
73
74
begin
74
- result := TMiddlewareExecutor.create(appMiddlewares);
75
+ result := TWithExceptMiddlewareExecutor.create(
76
+ TMiddlewareExecutor.create(appMiddlewares)
77
+ );
75
78
end ;
76
79
77
80
function TDispatcherFactory.build (const container : IDependencyContainer) : IDependency;
Original file line number Diff line number Diff line change @@ -82,11 +82,11 @@ implementation
82
82
end ;
83
83
84
84
function TSessionDispatcherFactory.createMiddlewareExecutor () : IMiddlewareExecutor;
85
- var actualFactory : IMiddlewareExecutor;
85
+ var actualExecutor : IMiddlewareExecutor;
86
86
begin
87
- actualFactory := inherited createMiddlewareExecutor();
87
+ actualExecutor := inherited createMiddlewareExecutor();
88
88
result := TSessionMiddlewareExecutor.create(
89
- actualFactory ,
89
+ actualExecutor ,
90
90
fSessionMgr,
91
91
fCookieFactory,
92
92
fExpiresInSec
You can’t perform that action at this time.
0 commit comments