|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.web.NavHelper
public class NavHelper
Constructor Summary | |
---|---|
NavHelper()
|
Method Summary | |
---|---|
java.lang.String |
getClientAppLinks()
|
static void |
registerApp(java.lang.String name,
java.lang.String path)
To register a new client application so that it shows up on the router console's nav bar, it should be registered with this singleton. |
void |
setContextId(java.lang.String contextId)
Configure this bean to query a particular router context |
static void |
unregisterApp(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavHelper()
Method Detail |
---|
public void setContextId(java.lang.String contextId)
contextId
- begging few characters of the routerHash, or null to pick
the first one we come across.public static void registerApp(java.lang.String name, java.lang.String path)
name
- pretty name the app will be called in the linkpath
- full path pointing to the application's root
(e.g. /i2ptunnel/index.jsp)public static void unregisterApp(java.lang.String name)
public java.lang.String getClientAppLinks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |