|
||||||||||
| 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.DirectoryIndex
Uses specified files as directory index - see the configuration option DirectoryIndex.
| Field Summary |
| Fields inherited from class com.lukasfeiler.httpd.plugins.HTTPServerPlugin |
server |
| Constructor Summary | |
DirectoryIndex(HTTPServer server)
Constructor. |
|
| Method Summary | |
boolean |
run(HTTPSocket socket,
java.io.File f,
java.lang.String requestedResource,
java.util.Vector headers)
Run the plugin: try to find the files specified by DirectoryIndex and run HTTPSocket.internalRedirect(java.io.File, java.lang.String, java.util.Vector). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DirectoryIndex(HTTPServer server)
| Method Detail |
public boolean run(HTTPSocket socket,
java.io.File f,
java.lang.String requestedResource,
java.util.Vector headers)
throws java.io.IOException
HTTPSocket.internalRedirect(java.io.File, java.lang.String, java.util.Vector).
run in class HTTPServerPluginjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||