code: @Deprecated
      public static int getIntHeader(HttpMessage message, CharSequence name) {
          String value = message.headers().get(name);
          if (value == null) {
              throw new NumberFormatException("header not found: " + name);
          }
          return Integer.parseInt(value);
      }
docs: @deprecated Use {@link #getInt(CharSequence)} instead.
  
  Returns the integer header value with the specified header name.  If
  there are more than one header value for the specified header name, the
  first value is returned.
  
  @return the header value
  @throws NumberFormatException
  if there is no such header or the header value is not a number