Back to project page android_opengles.
The source code is released under:
MIT License
If you think the Android project android_opengles 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 fi.iki.elonen; /* w w w. ja va2 s.c om*/ import java.io.File; import java.util.Map; import fi.iki.elonen.NanoHTTPD.IHTTPSession; /** * @author Paul S. Hawke (paul.hawke@gmail.com) * On: 9/14/13 at 8:09 AM */ public interface WebServerPlugin { void initialize(Map<String, String> commandLineOptions); boolean canServeUri(String uri, File rootDir); NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType); }