Back to project page FxExplorer.
The source code is released under:
Apache License
If you think the Android project FxExplorer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.gescobar.httpserver; //from ww w. j a v a2 s. c o m /** * Implementations of this interface handle requests. It must be thread-safe. * * @author German Escobar */ public interface Handler { /** * This method is called when a new request is received. Use the request argument to extract information from the * request; use the response argument to write the response back to the client. * * @param request the HTTP request wrapper. * @param response the HTTP response wrapper. */ void handle(Request request, Response response); }