blob: 8090cb9900b310d3fc7dc95e9509141e1bc54119 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System.Web;
using Marina.Web.Handlers;
using Marina.Web.Http;
namespace Marina.Web {
public class FrontController : IHttpHandler {
public FrontController( IHttpGateway gateway ) {
_gateway = gateway;
}
public void ProcessRequest( HttpContext context ) {
new Dispatcher( ).FindFor( _gateway ).Execute( );
}
public bool IsReusable {
get { return true; }
}
private IHttpGateway _gateway;
}
}
|