public static String headUri ( String uri , String name ) throws IOException { return Stream . of ( headUri ( uri ) ) . filter ( h -> h . getName ( ) . equals ( name ) ) . findFirst ( ) . get ( ) . getValue ( ) ; }
Gets the response header value of specified uri .