Package org.eblocker.server.http.server
Class StaticFileController
java.lang.Object
org.eblocker.server.http.server.StaticFileController
A RestExpress controller for serving static files (HTML, JS, CSS, ...)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StaticFileController
-
StaticFileController
-
-
Method Details
-
read
public Object read(org.restexpress.Request request, org.restexpress.Response response) throws IOException NOTE: this method is called from multiple threads simultaneously- Parameters:
request-response-- Returns:
- Throws:
IOException
-