process http get request and get the data as type specified as parameter . client accepts application/json mime type . concode_field_sep Logger LOG concode_field_sep void testResponseHttpCode concode_elem_sep CloseableHttpClient getPermissiveHttpClient concode_elem_sep CloseableHttpClient getPermissiveHttpClient
T function ( Class < T > arg0 , String arg1 ) { ClientRequest loc0 = new ClientRequest ( arg1 ) ; loc0 . accept ( MediaType . APPLICATION_JSON ) ; ClientResponse < T > loc1 = loc0 . get ( arg0 ) ; return loc1 . getEntity ( ) ; }