Returns a description string of all pe headers (that is msdos header,
coff file header, optional header and section table).

@return description string of all pe headers
420395
public String getInfo() {
        ReportCreator reporter = new ReportCreator(this);
        return reporter.msdosHeaderReport() + reporter.coffHeaderReport() +
                reporter.optHeaderReport() + reporter.secTableReport();
    }
763363
public Map<String, String> getRequestHeaders() {
        Map<String, String> hdrs = new HashMap<>();
        hdrs.put("Content-Type", "application/json");
        hdrs.put("environment", getSlackPrefix());
        return hdrs;
    }
923530
public Headers getAllHeaders() {
        Headers requestHeaders = getHeaders();
        requestHeaders = hasPayload() ? requestHeaders.withContentType(getPayload().get().getMimeType()) : requestHeaders;
        //We don't want to add headers more than once.
        return requestHeaders;
    }
1185156
public String toHeader() {
		StringBuilder header = new StringBuilder();
		header.append(name).append('=').append(value);
		if (domain != null) {
			header.append("; ").append("Domain=").append(domain);
		}
		if (path != null) {
			header.append("; ").append("Path=").append(path);
		}
		if (expireTime > -1) {
			header.append("; ").append("Expires=").append(RFC_DATEFORMAT.format(new Date(expireTime)));
		}
		if (secure) {
			header.append("; ").append("Secure");
		}
		return header.toString();
	}
79736
public String getDescription() {
    StringBuffer buf = new StringBuffer();
    String transportName = config.getName();
    for (ProbeSender sender : senders) {
      buf.append(transportName).append(" -- ").append(isEnabled() ? "Enabled" : "Disabled")
          .append(" -- ").append(sender.getDescription());
    }
    return buf.toString();

  }
714844
public function getHeaderContent()
    {
        if (!$this->headerFileHandle) {
            return null;
        }

        fseek($this->headerFileHandle, 0);

        $lines = array();
        while ($line = trim(fgets($this->headerFileHandle), "\n\r")) {
            $lines[] = $line;
        }

        return $lines;
    }
1224307
protected String getHeader( final ITransaction transaction, final String path, final WebdavResponse resp, final WebdavRequest req )
    {
        return "<h1>Content of folder " + path + "</h1>";
    }
642240
public String printDSSP() {

		StringBuffer buf = new StringBuffer();
		String nl = System.getProperty("line.separator");

		//Header Line
		buf.append("==== Secondary Structure Definition by BioJava"
				+ " DSSP implementation, Version October 2015 ===="+nl);

		//First line with column definition
		buf.append("  #  RESIDUE AA STRUCTURE BP1 BP2  ACC     "
				+ "N-H-->O    O-->H-N    N-H-->O    O-->H-N    "
				+ "TCO  KAPPA ALPHA  PHI    PSI    "
				+ "X-CA   Y-CA   Z-CA ");

		for (int i =0 ; i < groups.length ;i++){
			buf.append(nl);
			SecStrucState ss = getSecStrucState(i);
			buf.append(ss.printDSSPline(i));
		}

		return buf.toString();
	}
469834
public String getHeader() {
        String authPair = username + ':' + apiKey;
        return "Basic " + Base64.getEncoder().encodeToString(authPair.getBytes());
    }
871731
def headers(self):
        '''  '''
        self.__dict__['headers'] = hdict = HeaderDict()
        hdict.dict = self._headers
        return hdict
513282
@Override
    public String describe()
    {
        Serializable xaResInfo = getXAResourceInfo();
        if (xaResInfo == null)
        {
            return null;
        }
        else if (xaResInfo instanceof DirectEnlistXAResourceInfo)
        {
            return ((DirectEnlistXAResourceInfo) xaResInfo).getXAResource().toString();
        }
        else
        {
            return xaResInfo.toString();
        }
    }
763477
public function getHeaderLines()
    {
        $headers = [];
        foreach ($this->headers->getIterator() as $name => $value) {
            $headers[] = $name . ': ' . $value;
        }

        return $headers;
    }
738230
public Content getPackageSerializedHeader() {
        HtmlTree htmlTree;
        if (configuration.allowTag(HtmlTag.SECTION)) {
            htmlTree = HtmlTree.SECTION();
        } else {
            htmlTree = new HtmlTree(HtmlTag.LI);
            htmlTree.addStyle(HtmlStyle.blockList);
        }
        return htmlTree;
    }
105609
public static String getHeaders(HttpMethod method) {
        String headerString = "";
        Header[] headers = method.getRequestHeaders();
        for (Header header : headers) {
            String name = header.getName();
            if (name.equals(Constants.ODO_PROXY_HEADER)) {
                // skip.. don't want to log this
                continue;
            }

            if (headerString.length() != 0) {
                headerString += "\n";
            }

            headerString += header.getName() + ": " + header.getValue();
        }

        return headerString;
    }
649419
public String getStreamHeader() {
    StringBuilder builder = new StringBuilder();
    builder.append("GDAT").append(Constants.NEWLINE).append("VERSION:").append(VERSION).append(Constants.NEWLINE)
      .append("SCHEMALENGTH:");
    String streamTree = getStreamParseTree();
    int headerLength = streamTree.length();
    builder.append(Integer.toString(headerLength));
    builder.append(Constants.NEWLINE);
    builder.append(streamTree);
    return builder.toString();
  }
203032
public Map<String, String> getHeaders() {
    final Map<String, String> headers = new HashMap<String, String>(
        request.headers().entries().size());
    for (final Entry<String, String> header : request.headers().entries()) {
      // http://tools.ietf.org/html/rfc2616#section-4.2
      if (headers.containsKey(header.getKey())) {
        headers.put(header.getKey(), 
            headers.get(header.getKey()) + "," + header.getValue());
      } else {
        headers.put(header.getKey(), header.getValue());
      }
    }
    return headers;
  }
498496
public String getDescription() {
        StringBuilder builder = new StringBuilder("class path resource [");

        if (clazz != null) {
            builder.append(GrailsResourceUtils.classPackageAsResourcePath(clazz));
            builder.append('/');
        }

        builder.append(path);
        builder.append(']');
        return builder.toString();
    }