public class SimpleJsonResponseParser extends Object implements JsonResponseParser
| Constructor and Description |
|---|
SimpleJsonResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parseResponseBody(String s,
OnapMrFetchResponse resp)
Parse the string representation of a response body into the fetch response instance.
Note: This method is only called by the ResponseBody version above. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseResponseBodypublic void parseResponseBody(String s, OnapMrFetchResponse resp) throws IOException
JsonResponseParserparseResponseBody in interface JsonResponseParsers - the http body as a stringresp - the fetch response to populateIOException - if reading the body throws an IOExceptionCopyright © 2023 continual.io. All rights reserved.