|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfi.iki.elonen.nanohttpd.NanoHTTPD
net.sf.fmj.apps.mediaserver.MediaHTTPD
public class MediaHTTPD
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fi.iki.elonen.nanohttpd.NanoHTTPD |
|---|
NanoHTTPD.Response |
| Field Summary |
|---|
| Fields inherited from class fi.iki.elonen.nanohttpd.NanoHTTPD |
|---|
HTTP_BADREQUEST, HTTP_FORBIDDEN, HTTP_INTERNALERROR, HTTP_NOTFOUND, HTTP_NOTIMPLEMENTED, HTTP_OK, HTTP_REDIRECT, MIME_DEFAULT_BINARY, MIME_HTML, MIME_PLAINTEXT, myFileDir |
| Constructor Summary | |
|---|---|
MediaHTTPD(int port)
|
|
| Method Summary | |
|---|---|
NanoHTTPD.Response |
serve(java.lang.String uri,
java.lang.String method,
java.util.Properties header,
java.util.Properties parms)
Override this to customize the server. |
| Methods inherited from class fi.iki.elonen.nanohttpd.NanoHTTPD |
|---|
main, serveFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaHTTPD(int port)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public NanoHTTPD.Response serve(java.lang.String uri,
java.lang.String method,
java.util.Properties header,
java.util.Properties parms)
NanoHTTPD(By default, this delegates to serveFile() and allows directory listing.)
serve in class NanoHTTPDuri - Percent-decoded URI without parameters, for example "/index.cgi"method - "GET", "POST" etc.header - Header entries, percent decodedparms - Parsed, percent decoded parameters from URI and, in case of POST, data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||