BEAST
|
Interface for processing commands. More...
Public Member Functions | |
Command | parse (InputStream inputStream) |
Parses a JSON request if supported. | |
Command | parse (String s) |
Parses a JSON request if supported. | |
String | getHelp () |
String | getHelp (String method) |
Returns help about specified method. | |
Interface for processing commands.
String eu.baltrad.beast.admin.JsonCommandParser.getHelp | ( | ) |
Implemented in eu.baltrad.beast.admin.JsonCommandParserImpl.
String eu.baltrad.beast.admin.JsonCommandParser.getHelp | ( | String | method | ) |
Returns help about specified method.
If method is null, then this is same as calling getHelp()
method | the method |
Implemented in eu.baltrad.beast.admin.JsonCommandParserImpl.
Command eu.baltrad.beast.admin.JsonCommandParser.parse | ( | InputStream | inputStream | ) |
Parses a JSON request if supported.
a | RuntimeException if not handled |
Implemented in eu.baltrad.beast.admin.JsonCommandParserImpl.
Command eu.baltrad.beast.admin.JsonCommandParser.parse | ( | String | s | ) |
Parses a JSON request if supported.
a | RuntimeException if not handled |
Implemented in eu.baltrad.beast.admin.JsonCommandParserImpl.