protected Function<HttpRequest,String> createHeaderGetter(String str){
  String header=str.toLowerCase();
  return null;
}

protected Function < HttpRequest , String > createHeaderGetter ( String str ) { String header = str . toLowerCase ( ) ; return null ; }
create a getter function from headers .
