public class ActionReportJsonProprietaryReader extends Object implements ProprietaryReader<ActionReport>
| Constructor and Description |
|---|
ActionReportJsonProprietaryReader() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fillActionReport(ActionReport ar,
javax.json.JsonObject json)
Turns a
JsonObject into an ActionReport |
boolean |
isReadable(Class<?> type,
String mimetype) |
ActionReport |
readFrom(HttpURLConnection urlConnection) |
ActionReport |
readFrom(InputStream is,
String contentType) |
public boolean isReadable(Class<?> type, String mimetype)
isReadable in interface ProprietaryReader<ActionReport>public ActionReport readFrom(HttpURLConnection urlConnection) throws IOException
IOExceptionpublic ActionReport readFrom(InputStream is, String contentType) throws IOException
readFrom in interface ProprietaryReader<ActionReport>IOExceptionpublic static void fillActionReport(ActionReport ar, javax.json.JsonObject json) throws javax.json.JsonException
JsonObject into an ActionReport
The Json Object must contain a valid exit_code at the top level.
ar - json - javax.json.JsonExceptionCopyright © 2019. All rights reserved.