public static interface NetworkingModule.ResponseHandler
ResponseBody.| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(java.lang.String responseType)
Returns if the handler should be used for a response type.
|
WritableMap |
toResponseData(ResponseBody body)
Returns the JS body payload for the
ResponseBody. |
boolean supports(java.lang.String responseType)
WritableMap toResponseData(ResponseBody body) throws java.io.IOException
ResponseBody.java.io.IOException