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