Uses of Class
jmri.server.json.JsonRequest
-
Packages that use JsonRequest Package Description jmri.server.json The JMRI JSON Services provide access to JMRI via JSON data objects via a RESTful interface over HTTP or via JSON messages via a socket interface over TCP or WebSockets.jmri.server.json.audio jmri.server.json.audioicon jmri.server.json.block jmri.server.json.consist jmri.server.json.idtag jmri.server.json.layoutblock jmri.server.json.light jmri.server.json.logixngicon jmri.server.json.memory jmri.server.json.message The JMRI JSON protocol message server.jmri.server.json.oblock jmri.server.json.operations JMRI JSON support for Operations.jmri.server.json.power The JMRI JSON protocol power server.jmri.server.json.reporter jmri.server.json.roster jmri.server.json.route jmri.server.json.schema jmri.server.json.sensor jmri.server.json.signalhead jmri.server.json.signalmast jmri.server.json.throttle jmri.server.json.time jmri.server.json.turnout jmri.server.json.util -
-
Uses of JsonRequest in jmri.server.json
Methods in jmri.server.json with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonNamedBeanHttpService. deleteBean(T bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Delete the requested bean.void
JsonHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP DELETE request for the requested name.void
JsonNamedBeanHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP DELETE request for the requested name.protected void
JsonNamedBeanHttpService. doDelete(T bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Delete the requested bean.abstract com.fasterxml.jackson.databind.JsonNode
JsonHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP GET request for the requested name.com.fasterxml.jackson.databind.JsonNode
JsonNamedBeanHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP GET request for the requested name.protected abstract com.fasterxml.jackson.databind.node.ObjectNode
JsonNamedBeanHttpService. doGet(T bean, java.lang.String name, java.lang.String type, JsonRequest request)
Respond to an HTTP GET request for the requested name.protected abstract com.fasterxml.jackson.databind.node.ObjectNode
JsonNonProvidedNamedBeanHttpService. doGet(T bean, java.lang.String name, java.lang.String type, JsonRequest request)
Respond to an HTTP GET request for the requested name.abstract com.fasterxml.jackson.databind.JsonNode
JsonHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP GET request for a list of items of type.com.fasterxml.jackson.databind.JsonNode
JsonNamedBeanHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP GET request for a list of items of type.protected com.fasterxml.jackson.databind.JsonNode
JsonNonProvidedNamedBeanHttpService. doGetList(Manager<T> manager, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP GET request for a list of items of type.abstract com.fasterxml.jackson.databind.JsonNode
JsonHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP POST request for the requested name.com.fasterxml.jackson.databind.JsonNode
JsonNamedBeanHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP POST request for the requested name.protected abstract com.fasterxml.jackson.databind.node.ObjectNode
JsonNamedBeanHttpService. doPost(T bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP POST request for the requested name.com.fasterxml.jackson.databind.JsonNode
JsonHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP PUT request for the requested name.com.fasterxml.jackson.databind.JsonNode
JsonNamedBeanHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP PUT request for the requested name.abstract com.fasterxml.jackson.databind.JsonNode
JsonHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
Get the JSON Schema for thedata
property of the requested type of JSON object.T
JsonNamedBeanHttpService. getNamedBean(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Get the NamedBean matching name and type.protected abstract T
JsonNonProvidedNamedBeanHttpService. getNamedBean(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Get the NamedBean matching name and type.com.fasterxml.jackson.databind.node.ObjectNode
JsonNonProvidedNamedBeanHttpService. getNamedBean(T bean, java.lang.String name, java.lang.String type, JsonRequest request)
Create the JsonNode for aNamedBean
object.void
JsonNamedBeanSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
abstract void
JsonSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Handle a request for a list of objects.void
JsonNamedBeanSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
abstract void
JsonSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Handle an inbound message.protected T
JsonNonProvidedNamedBeanHttpService. postNamedBean(T bean, com.fasterxml.jackson.databind.JsonNode data, java.lang.String name, java.lang.String type, JsonRequest request)
Handle the common elements of a NamedBean that can be changed in an POST message.void
JsonConnection. sendMessage(com.fasterxml.jackson.databind.JsonNode message, JsonRequest request)
Send a JsonNode to the instantiated connection.void
JsonHttpService. throwDeleteConflictException(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.node.ArrayNode conflicts, JsonRequest request)
Throw an HTTP CONFLICT (409) exception when an object is requested to be deleted and it is in use. -
Uses of JsonRequest in jmri.server.json.audio
Methods in jmri.server.json.audio with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonAudioHttpService. doDelete(Audio bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonAudioHttpService. doGet(Audio audio, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonAudioHttpService. doPost(Audio audio, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonAudioHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.audioicon
Methods in jmri.server.json.audioicon with parameters of type JsonRequest Modifier and Type Method Description void
JsonAudioIconHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonAudioIconHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonAudioIconHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonAudioIconHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonAudioIconHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonAudioIconHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonAudioIconSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonAudioIconSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.block
Methods in jmri.server.json.block with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonBlockHttpService. doDelete(Block bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonBlockHttpService. doGet(Block block, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonBlockHttpService. doPost(Block block, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonBlockHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.consist
Methods in jmri.server.json.consist with parameters of type JsonRequest Modifier and Type Method Description void
JsonConsistHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonConsistHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonConsistHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonConsistHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Change the properties and locomotives of a consist.com.fasterxml.jackson.databind.JsonNode
JsonConsistHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonConsistHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonConsistHttpService. getConsist(LocoAddress address, JsonRequest request)
Get the JSON representation of a consist.void
JsonConsistSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonConsistSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.idtag
Methods in jmri.server.json.idtag with parameters of type JsonRequest Modifier and Type Method Description void
JsonIdTagHttpService. doDelete(IdTag bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonIdTagHttpService. doGet(IdTag idTag, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonIdTagHttpService. doPost(IdTag idTag, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonIdTagHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.layoutblock
Methods in jmri.server.json.layoutblock with parameters of type JsonRequest Modifier and Type Method Description void
JsonLayoutBlockHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
protected com.fasterxml.jackson.databind.node.ObjectNode
JsonLayoutBlockHttpService. doGet(LayoutBlock layoutBlock, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doPost(LayoutBlock layoutBlock, com.fasterxml.jackson.databind.JsonNode data, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
LayoutBlock
JsonLayoutBlockHttpService. getNamedBean(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonLayoutBlockSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonLayoutBlockSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.light
Methods in jmri.server.json.light with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonLightHttpService. doGet(Light light, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonLightHttpService. doPost(Light light, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLightHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.logixngicon
Methods in jmri.server.json.logixngicon with parameters of type JsonRequest Modifier and Type Method Description void
JsonLogixNGIconHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLogixNGIconHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLogixNGIconHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLogixNGIconHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP POST request for the requested LogixNGIcon.com.fasterxml.jackson.databind.JsonNode
JsonLogixNGIconHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLogixNGIconHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonLogixNGIconSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonLogixNGIconSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.memory
Methods in jmri.server.json.memory with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonMemoryHttpService. doGet(Memory memory, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonMemoryHttpService. doPost(Memory memory, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonMemoryHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.message
Methods in jmri.server.json.message with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonMessageHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ArrayNode
JsonMessageHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonMessageHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonMessageHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonMessageSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonMessageSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.oblock
Methods in jmri.server.json.oblock with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonOblockHttpService. doDelete(OBlock bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonOblockHttpService. doGet(OBlock oblock, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonOblockHttpService. doPost(OBlock oblock, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonOblockHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.operations
Methods in jmri.server.json.operations with parameters of type JsonRequest Modifier and Type Method Description void
JsonOperationsHttpService. doDelete(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonOperationsHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonOperationsHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonOperationsHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonOperationsHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonOperationsHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonOperationsSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonOperationsSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.power
Methods in jmri.server.json.power with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonPowerHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode parameters, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonPowerHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonPowerHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonPowerHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonPowerSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonPowerSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.reporter
Methods in jmri.server.json.reporter with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonReporterHttpService. doDelete(Reporter reporter, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonReporterHttpService. doGet(Reporter reporter, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonReporterHttpService. doPost(Reporter reporter, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonReporterHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.roster
Methods in jmri.server.json.roster with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonRosterHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonRosterHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonRosterHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonRosterHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonRosterHttpService. getRosterGroups(JsonRequest request)
Get a list of roster groups.void
JsonRosterSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonRosterSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.route
Methods in jmri.server.json.route with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonRouteHttpService. doGet(Route route, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonRouteHttpService. doPost(Route route, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Respond to an HTTP POST request for the requested route.com.fasterxml.jackson.databind.JsonNode
JsonRouteHttpService. doPut(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonRouteHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.schema
Methods in jmri.server.json.schema with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonSchemaHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSchemaHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode parameters, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSchemaHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSchemaHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
com.networknt.schema.JsonSchema
JsonSchemaServiceCache. getClientSchema(java.lang.String type, JsonRequest request)
Get the client schema for JSON messages or for specific JSON data schema.com.networknt.schema.JsonSchema
JsonSchemaServiceCache. getServerSchema(java.lang.String type, JsonRequest request)
Get the server schema for JSON messages or for specific JSON data schema.void
JsonSchemaSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonSchemaSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonSchemaServiceCache. validateData(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, boolean server, JsonRequest request)
Validate a JSON data object against the schema for JSON messages and data.void
JsonSchemaServiceCache. validateMessage(com.fasterxml.jackson.databind.JsonNode message, boolean server, JsonRequest request)
Validate a JSON message against the schema for JSON messages and data. -
Uses of JsonRequest in jmri.server.json.sensor
Methods in jmri.server.json.sensor with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonSensorHttpService. doDelete(Sensor bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonSensorHttpService. doGet(Sensor sensor, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonSensorHttpService. doPost(Sensor sensor, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSensorHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.signalhead
Methods in jmri.server.json.signalhead with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonSignalHeadHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
protected com.fasterxml.jackson.databind.node.ObjectNode
JsonSignalHeadHttpService. doGet(SignalHead signalHead, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSignalHeadHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSignalHeadHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSignalHeadHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
SignalHead
JsonSignalHeadHttpService. getNamedBean(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonSignalHeadSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonSignalHeadSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.signalmast
Methods in jmri.server.json.signalmast with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonSignalMastHttpService. doGet(SignalMast signalMast, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonSignalMastHttpService. doPost(SignalMast signalMast, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonSignalMastHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.throttle
Methods in jmri.server.json.throttle with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonThrottleHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ArrayNode
JsonThrottleHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonThrottleHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonThrottleHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonThrottleSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonThrottleSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.time
Methods in jmri.server.json.time with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonTimeHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonTimeHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonTimeHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonTimeHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
void
JsonTimeSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonTimeSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.turnout
Methods in jmri.server.json.turnout with parameters of type JsonRequest Modifier and Type Method Description protected void
JsonTurnoutHttpService. doDelete(Turnout bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonTurnoutHttpService. doGet(Turnout turnout, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonTurnoutHttpService. doPost(Turnout turnout, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonTurnoutHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
-
Uses of JsonRequest in jmri.server.json.util
Methods in jmri.server.json.util with parameters of type JsonRequest Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. doGet(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ArrayNode
JsonUtilHttpService. doGetList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. doPost(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. doSchema(java.lang.String type, boolean server, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getConfigProfile(java.lang.String name, JsonRequest request)
Get the named configuration profile.com.fasterxml.jackson.databind.node.ArrayNode
JsonUtilHttpService. getConfigProfiles(JsonRequest request)
Get a JSON array of all configuration profiles.com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getHello(int heartbeat, JsonRequest request)
Send a JSONJSON.HELLO
message.com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getMetadata(java.lang.String name, JsonRequest request)
Get a JSON message with a metadata element fromMetadata
.com.fasterxml.jackson.databind.node.ArrayNode
JsonUtilHttpService. getMetadata(JsonRequest request)
Get a JSON array of metadata elements as listed byMetadata.getSystemNameList()
.com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getNetworkService(java.lang.String name, JsonRequest request)
Get a runningZeroConfService
using the protocol as the name of the service.com.fasterxml.jackson.databind.node.ArrayNode
JsonUtilHttpService. getNetworkServices(JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getNode(JsonRequest request)
Send a JSONJSON.NODE
message containing the JMRI node identity and former identities.com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getRailroad(JsonRequest request)
return a JSONJSON.NODE
message containing the Railroad from the Railroad Name preferences.com.fasterxml.jackson.databind.JsonNode
JsonUtilHttpService. getSystemConnection(java.lang.String name, JsonRequest request)
return a JSONJSON.NODE
message containing the requested systemConnection detailscom.fasterxml.jackson.databind.node.ArrayNode
JsonUtilHttpService. getSystemConnections(JsonRequest request)
return a JSON array containing the defined system connectionsvoid
JsonUtilSocketService. onList(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
void
JsonUtilSocketService. onMessage(java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-