|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lukasfeiler.httpd.plugins.HTTPServerPlugin
com.lukasfeiler.httpd.plugins.ExtensionFilter
Allows only requests for files with the specified extensions - see the configuration options ExtensionFilterOrder, ExtensionFilterAllow and ExtensionFilterDeny.
| Field Summary |
| Fields inherited from class com.lukasfeiler.httpd.plugins.HTTPServerPlugin |
server |
| Constructor Summary | |
ExtensionFilter(HTTPServer server)
Constructor. |
|
| Method Summary | |
boolean |
run(HTTPSocket socket,
java.io.File f,
java.lang.String requestedResource,
java.util.Vector headers)
Run the plugin: allow a request for a file with the specified extension (allows requests for directories as well |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtensionFilter(HTTPServer server)
| Method Detail |
public boolean run(HTTPSocket socket,
java.io.File f,
java.lang.String requestedResource,
java.util.Vector headers)
run in class HTTPServerPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||