METHOD_0 ( ) { try ( org . apache . nifi . remote . client . IDENT_0 client = METHOD_1 ( ) . METHOD_2 ( STRING_0 ) . METHOD_3 ( true ) . build ( ) ) { final org . apache . nifi . remote . IDENT_1 transaction = client . METHOD_4 ( IDENT_2 . IDENT_3 ) ; "<AssertPlaceHolder>" ; org . apache . nifi . remote . client . http . IDENT_4 . IDENT_5 = STRING_1 ; for ( int i = 0 ; i < 20 ; i ++ ) { org . apache . nifi . remote . protocol . IDENT_6 packet = new org . apache . nifi . remote . client . http . IDENT_4 . METHOD_5 ( ) . METHOD_6 ( STRING_2 ) . METHOD_7 ( STRING_3 , STRING_4 ) . METHOD_7 ( STRING_5 , STRING_6 ) . build ( ) ; transaction . METHOD_8 ( packet ) ; long IDENT_7 = ( ( org . apache . nifi . remote . IDENT_8 ) ( transaction . METHOD_9 ( ) ) ) . METHOD_10 ( ) . METHOD_11 ( ) ; org . apache . nifi . remote . client . http . IDENT_4 . logger . info ( STRING_7 , i , IDENT_7 ) ; } transaction . METHOD_12 ( ) ; transaction . METHOD_13 ( ) ; } } METHOD_4 ( org . apache . nifi . remote . IDENT_2 ) { final int IDENT_9 = ( ( int ) ( config . METHOD_14 ( TimeUnit . IDENT_10 ) ) ) ; org . apache . nifi . remote . IDENT_11 IDENT_12 ; while ( ( IDENT_12 = IDENT_13 . METHOD_15 ( IDENT_14 ) ) != null ) { org . apache . nifi . remote . client . http . IDENT_15 . logger . debug ( STRING_8 , IDENT_12 ) ; final org . apache . nifi . remote . protocol . IDENT_16 IDENT_17 = new org . apache . nifi . remote . io . http . METHOD_16 ( ) ; final java . lang . String IDENT_18 = METHOD_17 ( IDENT_12 . METHOD_18 ( ) ) ; final java . lang . StringBuilder IDENT_19 = new java . lang . StringBuilder ( ) ; config . METHOD_19 ( ) . METHOD_20 ( ( url ) -> { if ( ( IDENT_19 . length ( ) ) > 0 ) { IDENT_19 . append ( STRING_9 ) ; IDENT_19 . append ( url ) ; } } ) ; final org . apache . nifi . remote . IDENT_8 IDENT_20 = new org . apache . nifi . remote . METHOD_21 ( IDENT_12 . METHOD_18 ( ) , IDENT_17 , IDENT_18 , IDENT_19 . toString ( ) ) ; final int IDENT_21 = ( ( int ) ( config . METHOD_22 ( TimeUnit . IDENT_10 ) ) ) ; java . lang . String IDENT_22 = config . METHOD_23 ( ) ; if ( org . apache . commons . lang3 . StringUtils . isEmpty ( IDENT_22 ) ) { IDENT_22 = IDENT_23 . METHOD_23 ( config . METHOD_24 ( ) , IDENT_14 ) ; if ( org . apache . commons . lang3 . StringUtils . isEmpty ( IDENT_22 ) ) { IDENT_20 . close ( ) ; throw new java . io . IOException ( ( STRING_10 + ( config . METHOD_24 ( ) ) ) ) ; } } final org . apache . nifi . remote . util . IDENT_24 IDENT_25 = new org . apache . nifi . remote . util . METHOD_25 ( config . METHOD_26 ( ) , config . METHOD_27 ( ) , config . METHOD_28 ( ) ) ; IDENT_25 . METHOD_29 ( IDENT_20 . METHOD_30 ( ) ) ; IDENT_25 . METHOD_31 ( IDENT_9 ) ; IDENT_25 . METHOD_32 ( IDENT_9 ) ; IDENT_25 . METHOD_33 ( config . METHOD_34 ( TimeUnit . IDENT_10 ) ) ; IDENT_25 . METHOD_35 ( config . METHOD_36 ( ) ) ; IDENT_25 . METHOD_37 ( config . METHOD_38 ( ) ) ; IDENT_25 . METHOD_39 ( config . METHOD_40 ( TimeUnit . IDENT_10 ) ) ; IDENT_25 . METHOD_41 ( config . METHOD_42 ( ) ) ; IDENT_25 . METHOD_43 ( config . METHOD_44 ( ) ) ; IDENT_25 . METHOD_45 ( config . METHOD_46 ( TimeUnit . IDENT_10 ) ) ; final java . lang . String IDENT_26 ; try { IDENT_26 = IDENT_25 . METHOD_47 ( IDENT_14 , IDENT_22 ) ; IDENT_17 . METHOD_48 ( IDENT_25 . METHOD_49 ( ) ) ; } catch ( final java . lang . Exception e ) { IDENT_25 . close ( ) ; org . apache . nifi . remote . client . http . IDENT_15 . logger . warn ( STRING_11 , IDENT_20 , e . toString ( ) ) ; IDENT_13 . METHOD_50 ( IDENT_20 , IDENT_21 ) ; if ( ( ( e instanceof org . apache . nifi . remote . exception . IDENT_27 ) || ( e instanceof org . apache . nifi . remote . exception . IDENT_28 ) ) || ( e instanceof org . apache . nifi . remote . exception . IDENT_29 ) ) { throw e ; } org . apache . nifi . remote . client . http . IDENT_15 . logger . debug ( STRING_12 ) ; continue ; } final java . lang . Integer IDENT_30 = IDENT_25 . METHOD_51 ( ) ; final org . apache . nifi . remote . protocol . http . IDENT_31 transaction = new org . apache . nifi . remote . protocol . http . METHOD_52 ( IDENT_30 , IDENT_20 , IDENT_14 , config . METHOD_38 ( ) , IDENT_22 , IDENT_21 , config . METHOD_28 ( ) ) { @ org . apache . nifi . remote . client . http . Override MOD_0 void close ( ) throws java . io . IOException { try { super . close ( ) ; } finally { IDENT_32 . remove ( this ) ; } } } ; try { transaction . METHOD_53 ( IDENT_25 , IDENT_26 ) ; } catch ( final java . lang . Exception e ) { transaction . error ( ) ; throw e ; } IDENT_32 . add ( transaction ) ; return transaction ; } org . apache . nifi . remote . client . http . IDENT_15 . logger . info ( STRING_13 ) ; return null ; }
org . junit . Assert . assertNotNull ( transaction )