METHOD_0 ( ) { final org . apache . hc . core5 . http . IDENT_0 [ ] headers = new org . apache . hc . core5 . http . IDENT_0 [ ] { new org . apache . hc . core5 . http . message . METHOD_1 ( STRING_0 , org . apache . hc . IDENT_1 . http . utils . IDENT_2 . METHOD_2 ( IDENT_3 ) ) , new org . apache . hc . core5 . http . message . METHOD_1 ( STRING_1 , STRING_2 ) } ; entry = METHOD_3 ( headers ) ; final org . apache . hc . IDENT_1 . http . impl . cache . IDENT_4 config = org . apache . hc . IDENT_1 . http . impl . cache . IDENT_4 . METHOD_4 ( ) . METHOD_5 ( true ) . METHOD_6 ( 20 ) . build ( ) ; impl = new org . apache . hc . IDENT_1 . http . impl . cache . METHOD_7 ( config ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . apache . hc . core5 . http . IDENT_5 , org . apache . hc . core5 . http . IDENT_6 , org . apache . hc . IDENT_1 . http . cache . IDENT_7 , java . util . Date ) { if ( ! ( METHOD_9 ( entry , request , now ) ) ) { log . debug ( STRING_3 ) ; return false ; } if ( ( METHOD_10 ( request ) ) && ( ! ( IDENT_8 . METHOD_11 ( entry ) ) ) ) { log . debug ( STRING_4 1 ) ; return false ; } if ( METHOD_12 ( request ) ) { log . debug ( STRING_5 ) ; return false ; } if ( ( ! ( METHOD_13 ( request ) ) ) && ( ( entry . getStatus ( ) ) == ( org . apache . hc . core5 . http . IDENT_9 . IDENT_10 ) ) ) { log . debug ( STRING_4 2 ) ; return false ; } if ( ( METHOD_13 ( request ) ) && ( ! ( METHOD_14 ( request , entry , now ) ) ) ) { log . debug ( STRING_4 ) ; return false ; } if ( METHOD_15 ( request , entry ) ) { log . debug ( ( STRING_6 + STRING_7 ) ) ; return false ; } final java . util . Iterator < org . apache . hc . core5 . http . IDENT_11 > it = org . apache . hc . core5 . http . message . IDENT_12 . METHOD_16 ( request , IDENT_13 . IDENT_14 ) ; while ( it . hasNext ( ) ) { final org . apache . hc . core5 . http . IDENT_11 IDENT_15 = it . next ( ) ; if ( IDENT_13 . IDENT_16 . equals ( IDENT_15 . getName ( ) ) ) { log . debug ( STRING_8 ) ; return false ; } if ( IDENT_13 . IDENT_17 . equals ( IDENT_15 . getName ( ) ) ) { log . debug ( STRING_9 ) ; return false ; } if ( IDENT_13 . IDENT_18 . equals ( IDENT_15 . getName ( ) ) ) { try { final int IDENT_19 = java . lang . Integer . METHOD_17 ( IDENT_15 . getValue ( ) ) ; if ( ( IDENT_8 . METHOD_18 ( entry , now ) ) > IDENT_19 ) { log . debug ( STRING_10 ) ; return false ; } } catch ( final java . lang . IDENT_20 ex ) { log . debug ( ( STRING_4 4 + ( ex . getMessage ( ) ) ) ) ; return false ; } } if ( IDENT_13 . IDENT_21 . equals ( IDENT_15 . getName ( ) ) ) { try { final int IDENT_22 = java . lang . Integer . METHOD_17 ( IDENT_15 . getValue ( ) ) ; if ( ( IDENT_8 . METHOD_19 ( entry ) ) > IDENT_22 ) { log . debug ( STRING_11 ) ; return false ; } } catch ( final java . lang . IDENT_20 ex ) { log . debug ( ( STRING_4 3 + ( ex . getMessage ( ) ) ) ) ; return false ; } } if ( IDENT_13 . IDENT_23 . equals ( IDENT_15 . getName ( ) ) ) { try { final long IDENT_24 = java . lang . Long . METHOD_20 ( IDENT_15 . getValue ( ) ) ; if ( IDENT_24 < 0L ) { return false ; } final long IDENT_25 = IDENT_8 . METHOD_18 ( entry , now ) ; final long IDENT_26 = IDENT_8 . METHOD_19 ( entry ) ; if ( ( IDENT_26 - IDENT_25 ) < IDENT_24 ) { log . debug ( ( STRING_4 0 + STRING_4 5 ) ) ; return false ; } } catch ( final java . lang . IDENT_20 ex ) { log . debug ( ( STRING_4 3 + ( ex . getMessage ( ) ) ) ) ; return false ; } } } log . debug ( STRING_12 ) ; return true ; }
org . junit . Assert . assertTrue ( impl . METHOD_8 ( host , request , entry , now ) )