net.i2p.router.web
public class UnsignedUpdateHandler extends UpdateHandler
Handles the request to update the router by firing off an
EepGet
call to download the latest unsigned zip file
and displaying the status to anyone who asks.
After the download completes the signed update file is copied to the router directory, and if configured the router is restarted to complete the update process.
Modifier and Type | Class and Description |
---|---|
class |
UnsignedUpdateHandler.UnsignedUpdateRunner
Eepget the .zip file to the temp dir, then copy it over
|
UpdateHandler.UpdateRunner
_context, _log, _updateFile, _updateRunner, PROP_LAST_UPDATE_TIME, PROP_UPDATE_IN_PROGRESS, SIGNED_UPDATE_FILE
Constructor and Description |
---|
UnsignedUpdateHandler(RouterContext ctx,
String zipURL,
String version) |
Modifier and Type | Method and Description |
---|---|
void |
update() |
_, _, getStatus, isDone, linkify, restart, setContextId, setUpdateAction, setUpdateNonce, updateStatus
public UnsignedUpdateHandler(RouterContext ctx, String zipURL, String version)
public void update()
update
in class UpdateHandler