view src/luan/modules/http/NotFound.java @ 1201:7f4a12fb7716

remove logging/init.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 04 Mar 2018 17:07:48 -0700
parents 794ddcfbee20
children 643cf1c37723
line wrap: on
line source

package luan.modules.http;

import luan.webserver.Request;
import luan.webserver.Response;
import luan.webserver.Handler;


public class NotFound implements Handler {
	private final LuanHandler luanHandler;

	public NotFound(LuanHandler luanHandler) {
		this.luanHandler = luanHandler;
	}

	@Override public Response handle(Request request) {
		return luanHandler.handle(request,"site:/not_found.luan");
	}

}