public String getHeader(String name)
  {
    if (_header != null)
    {
      String strVal = _header.getHeader(name);
      if (strVal != null)
        return strVal;
    }
    if (this.headerTable != null)
    {
      int i = 0;
      for (Object obj : headerTable[0])
      {
        String strVal = (String) obj;
        if (name.equals(strVal))
        {
          return (String) headerTable[1].get(i);
        }
        i++;
      }
    }
    return null;
  }
public String getHeader ( String name ) { if ( _header != null ) { String strVal = _header . getHeader ( name ) ; if ( strVal != null ) return strVal ; } if ( this . headerTable != null ) { int i = 0 ; for ( Object obj : headerTable [ 0 ] ) { String strVal = ( String ) obj ; if ( name . equals ( strVal ) ) { return ( String ) headerTable [ 1 ] . get ( i ) ; } i ++ ; } } return null ; }
Retrieve a response header field by name.