|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.io.remotecontrol.handler.RequestHandler
org.openstreetmap.josm.io.remotecontrol.handler.VersionHandler
public class VersionHandler
Handler for version request.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler |
|---|
RequestHandler.RequestHandlerBadRequestException, RequestHandler.RequestHandlerErrorException, RequestHandler.RequestHandlerException, RequestHandler.RequestHandlerForbiddenException |
| Field Summary | |
|---|---|
static java.lang.String |
command
|
| Fields inherited from class org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler |
|---|
args, content, contentType, globalConfirmationDefault, globalConfirmationKey, loadInNewLayerDefault, loadInNewLayerKey, myCommand, request |
| Constructor Summary | |
|---|---|
VersionHandler()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getMandatoryParams()
|
java.lang.String |
getPermissionMessage()
Get a specific message to ask the user for permission for the operation requested via remote control. |
PermissionPrefWithDefault |
getPermissionPref()
Get a PermissionPref object containing the name of a special permission preference to individually allow the requested operation and an error message to be displayed when a disabled operation is requested. |
protected void |
handleRequest()
Handle a specific command sent as remote control. |
| Methods inherited from class org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler |
|---|
checkMandatoryParams, checkPermission, getContent, getContentType, handle, isLoadInNewLayer, parseArgs, setCommand, setUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String command
| Constructor Detail |
|---|
public VersionHandler()
| Method Detail |
|---|
protected void handleRequest()
throws RequestHandler.RequestHandlerErrorException,
RequestHandler.RequestHandlerBadRequestException
RequestHandler
handleRequest in class RequestHandlerRequestHandler.RequestHandlerErrorException
RequestHandler.RequestHandlerBadRequestExceptionpublic java.lang.String getPermissionMessage()
RequestHandler
getPermissionMessage in class RequestHandlerpublic PermissionPrefWithDefault getPermissionPref()
RequestHandler
getPermissionPref in class RequestHandlerpublic java.lang.String[] getMandatoryParams()
getMandatoryParams in class RequestHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||