code: public static String getStatusText(int nHttpStatusCode) {
  
          Integer intKey = new Integer(nHttpStatusCode);
  
          if (!mapStatusCodes.containsKey(intKey)) {
              return "";
          } else {
              return mapStatusCodes.get(intKey);
          }
      }
docs: Returns the HTTP status text for the HTTP or WebDav status code
  specified by looking it up in the static mapping.  This is a
  static function.
  
  @param   nHttpStatusCode [IN] HTTP or WebDAV status code
  @return  A string with a short descriptive phrase for the
  HTTP status code (e.g., "OK").