public int statusCode ( ) { return status ( ) . entrySet ( ) . stream ( ) . map ( it -> it . getKey ( ) ) . filter ( code -> code >= 200 && code < 400 ) . findFirst ( ) . orElseGet ( ( ) -> type ( ) == void . class ? 204 : 200 ) ; }
Status code .