Package de.craftsblock.craftsnet.api.http
package de.craftsblock.craftsnet.api.http
-
ClassDescriptionRepresents the exchange of data between the client (request) and the server (response).The RequestMethod enum represents the different HTTP request methods, such as POST, GET, PUT, DELETE, PATCH, and HEAD.The Request class represents an incoming HTTP request received by the web server.The RequestHandler interface serves as a marker interface for classes that are intended to handle incoming HTTP requests.The Response class represents an HTTP response sent by the web server to the client.Handles HTTP requests and routes them to the appropriate handlers based on the registered routes.The WebServer class represents a simple HTTP or HTTPS server that listens for incoming requests and handles them based on registered API endpoints using the provided RouteRegistry.