Package jmri.server.json
Class JsonRequest
- java.lang.Object
-
- jmri.server.json.JsonRequest
-
public class JsonRequest extends java.lang.Object
Container for data in JSON request.
-
-
Constructor Summary
Constructors Constructor Description JsonRequest(java.util.Locale locale, java.lang.String version, java.lang.String method, int id)
Create a JSON request container.
-
-
-
Constructor Detail
-
JsonRequest
public JsonRequest(@Nonnull java.util.Locale locale, @Nonnull java.lang.String version, @Nonnull java.lang.String method, int id)
Create a JSON request container.- Parameters:
locale
- the request localeversion
- the JSON version to usemethod
- the JSON method to useid
- the ID of the request
-
-