All Downloads are FREE. Search and download functionalities are using the official Maven repository.

express.http.HttpRequestHandler Maven / Gradle / Ivy

The newest version!
package express.http;

import express.http.request.Request;
import express.http.response.Response;

/**
 * @author Simon Reinisch
 * Interface to handle an http-request
 */
@FunctionalInterface
public interface HttpRequestHandler {

    /**
     * Handle an http-request
     *
     * @param req - The request object
     * @param res - The response object
     */
    void handle(Request req, Response res);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy