|
||||||||||
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.OpenFileHandler
public class OpenFileHandler
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 | |
---|---|
OpenFileHandler()
|
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 OpenFileHandler()
Method Detail |
---|
public java.lang.String[] getMandatoryParams()
getMandatoryParams
in class RequestHandler
public PermissionPrefWithDefault getPermissionPref()
RequestHandler
getPermissionPref
in class RequestHandler
protected void handleRequest() throws RequestHandler.RequestHandlerErrorException, RequestHandler.RequestHandlerBadRequestException
RequestHandler
handleRequest
in class RequestHandler
RequestHandler.RequestHandlerErrorException
RequestHandler.RequestHandlerBadRequestException
public java.lang.String getPermissionMessage()
RequestHandler
getPermissionMessage
in class RequestHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |