|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.thinger.service.httptool.ServeManager
public class ServeManager
A serve manager.
Version History
EPG - Initial - 20 NOV 07
| Nested Class Summary | |
|---|---|
class |
ServeManager.FileType
A File Type. |
| Constructor Summary | |
|---|---|
ServeManager()
Constructor. |
|
| Method Summary | |
|---|---|
ServeFile |
get(java.lang.String path)
Get the serve file that matches this path |
void |
init(SystemInterface si)
Initialize the manager. |
java.lang.String |
lookupExtension(java.lang.String path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServeManager()
throws java.lang.Throwable
java.lang.Throwable - for type mapping error. Making this Throwable instead of error because eventually it'll be a configurable map.| Method Detail |
|---|
public void init(SystemInterface si)
throws ThingsException
ThingsException - by the init_chain if applicable. The base will never throw it.
public ServeFile get(java.lang.String path)
throws java.lang.Throwable
path - the path.
java.lang.Throwablepublic java.lang.String lookupExtension(java.lang.String path)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||