BEAST
eu.baltrad.beast.exchange.json.RequestMapperImpl Class Reference
Inheritance diagram for eu.baltrad.beast.exchange.json.RequestMapperImpl:
eu.baltrad.beast.exchange.json.RequestMapper

Public Member Functions

String toJson (AuthorizationRequest request)
 Translates an authorization request into a json string.
 
ExchangeMessage parse (InputStream jsonStream)
 Parses an input stream containing json.
 
ExchangeMessage parse (String json)
 Parses a json string.
 
ExchangeMessage parse (JsonNode node)
 

Detailed Description

Author
anders

Member Function Documentation

◆ parse() [1/2]

ExchangeMessage eu.baltrad.beast.exchange.json.RequestMapperImpl.parse ( InputStream jsonStream)
inline

Parses an input stream containing json.

Parameters
jsonStreamthe json stream
Returns
the exchange message

Implements eu.baltrad.beast.exchange.json.RequestMapper.

◆ parse() [2/2]

ExchangeMessage eu.baltrad.beast.exchange.json.RequestMapperImpl.parse ( String json)
inline

Parses a json string.

Parameters
jsonthe json string
Returns
the exchange message

Implements eu.baltrad.beast.exchange.json.RequestMapper.

◆ toJson()

String eu.baltrad.beast.exchange.json.RequestMapperImpl.toJson ( AuthorizationRequest request)
inline

Translates an authorization request into a json string.

Parameters
requestthe request
Returns
the json string

Implements eu.baltrad.beast.exchange.json.RequestMapper.


The documentation for this class was generated from the following file: