From f95cfe9ba4929ed0d1768adc7af2ee93197d5512 Mon Sep 17 00:00:00 2001 From: DevSnaith <65865554+DevSnaith@users.noreply.github.com> Date: Wed, 19 Apr 2023 10:49:14 +0300 Subject: [PATCH] Change the file name & add new stuff --- src/org/eu/lumiere/net/RequestHandler.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/org/eu/lumiere/net/RequestHandler.java diff --git a/src/org/eu/lumiere/net/RequestHandler.java b/src/org/eu/lumiere/net/RequestHandler.java new file mode 100644 index 0000000..8b16f70 --- /dev/null +++ b/src/org/eu/lumiere/net/RequestHandler.java @@ -0,0 +1,10 @@ +package org.eu.lumiere.net; + +import java.net.Socket; + +import org.eu.lumiere.net.http.HTTPRequest; +import org.eu.lumiere.net.http.HTTPResponse; + +public interface RequestHandler{ + public void onRequestReceived(Socket socket, HTTPRequest request, HTTPResponse response); +}