question: protected synchronized void requestResultStreams ( String url , String result , int responseCode ) { Set < StreamInfo > expected = pendingRequests . remove ( url ) ; if ( expected == null ) { LOGGER . warning ( "No pending request for: " + url ) ; } else if ( responseCode != 200 || result == null ) { if ( responseCode == 404 ) { streamsRequestErrors += 2 ; } else { streamsRequestErrors ++ ; } LOGGER . warning ( "Unexpected response code " + responseCode + " or result null (errors: " + streamsRequestErrors + ")" ) ; streamsRequestError ( expected ) ; } else { if ( parseStreams ( result , expected ) == - 1 ) { streamsRequestErrors ++ ; } else { streamsRequestErrors = 0 ; } } }
target:  Parse result of the /streams?channel=[..] request.