view src/luan/modules/http/NotFound.java @ 1171:794ddcfbee20

remove http/impl
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 11 Feb 2018 02:41:23 -0700
parents src/luan/modules/http/impl/NotFound.java@7e6f28c769a1
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");
	}

}