code: public String getHeader( final String name ) {
          List<String> headerVals = getRequestInfo().getHeader(name);
          if( headerVals != null && !headerVals.isEmpty() ) {
              return headerVals.get(0);
          }
          return null;
      }
docs: Request header related methods -------------------------------------------------------------------------------------------