Class RequestHandler.RawURLParseRequestHandler
- java.lang.Object
-
- org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler
-
- org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler.RawURLParseRequestHandler
-
- Direct Known Subclasses:
ImageryHandler
,ImportHandler
- Enclosing class:
- RequestHandler
public abstract static class RequestHandler.RawURLParseRequestHandler extends RequestHandler
Handler that takes a URL as a parameter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler
RequestHandler.PermissionCache, RequestHandler.RawURLParseRequestHandler, RequestHandler.RequestHandlerBadRequestException, RequestHandler.RequestHandlerErrorException, RequestHandler.RequestHandlerException, RequestHandler.RequestHandlerForbiddenException, RequestHandler.RequestHandlerOsmApiException
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler
args, content, contentType, GLOBAL_CONFIRMATION, LOAD_IN_NEW_LAYER, myCommand, OSM_DOWNLOAD_TIMEOUT, PERMISSIONS, request, sender, SPLITTER_COMMA, SPLITTER_SEMIC
-
-
Constructor Summary
Constructors Constructor Description RawURLParseRequestHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
parseArgs()
Parse the request parameters as key=value pairs.-
Methods inherited from class org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler
checkMandatoryParams, checkPermission, getCommand, getContent, getContentType, getDownloadParams, getMandatoryParams, getOptionalParams, getPermissionMessage, getPermissionPref, getRequestParameter, getUsage, getUsageExamples, getUsageExamples, handle, handleRequest, setCommand, setSender, setUrl, splitArg, validateDownloadParams, validateRequest
-
-
-
-
Constructor Detail
-
RawURLParseRequestHandler
public RawURLParseRequestHandler()
-
-
Method Detail
-
parseArgs
protected void parseArgs() throws java.net.URISyntaxException
Description copied from class:RequestHandler
Parse the request parameters as key=value pairs. The result will be stored inthis.args
.Can be overridden by subclass.
- Overrides:
parseArgs
in classRequestHandler
- Throws:
java.net.URISyntaxException
- if request URL is invalid
-
-