Added ifdef DOTNET35
[castle.git] / MonoRail / Castle.MonoRail.Framework / AsyncSessionlessMonoRailHttpHandler.cs
blob4fe2e9b3ba42b82c5c7bae72f961d6a6c9284516
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.MonoRail.Framework
17 /// <summary>
18 /// Pendent
19 /// </summary>
20 public class AsyncSessionlessMonoRailHttpHandler : BaseAsyncHttpHandler
22 /// <summary>
23 /// Initializes a new instance of the <see cref="SessionlessMonoRailHttpHandler"/> class.
24 /// </summary>
25 /// <param name="engineContext">The engine context.</param>
26 /// <param name="controller">The controller.</param>
27 /// <param name="context">The context.</param>
28 public AsyncSessionlessMonoRailHttpHandler(IEngineContext engineContext, IAsyncController controller,
29 IControllerContext context)
30 : base(engineContext, controller, context, true)
34 /// <summary>
35 /// Overridden to prevent acquiring a session from the custom session
36 /// </summary>
37 protected override void AcquireCustomSession()
41 /// <summary>
42 /// Overridden to prevent persisting a session to the custom session
43 /// </summary>
44 protected override void PersistCustomSession()