MCPcopy Create free account
hub / github.com/apache/tomcat / getHeader

Method getHeader

java/org/apache/tomcat/util/http/MimeHeaders.java:403–406  ·  view source on GitHub ↗

Get the value of a header. @param name the header name @return the header value

(String name)

Source from the content-addressed store, hash-verified

401 * @return the header value
402 */
403 public String getHeader(String name) {
404 MessageBytes mh = getValue(name);
405 return mh != null ? mh.toStringType() : null;
406 }
407
408 // -------------------- Removing --------------------
409

Callers 4

testDecodeMethod · 0.95
useCompressionMethod · 0.95
writeEarlyHintsMethod · 0.95

Calls 2

getValueMethod · 0.95
toStringTypeMethod · 0.95

Tested by 2

testDecodeMethod · 0.76