MCPcopy Index your code
hub / github.com/apache/tomcat / contentType

Method contentType

java/org/apache/coyote/Request.java:718–723  ·  view source on GitHub ↗

Return the content type. @return the content type

()

Source from the content-addressed store, hash-verified

716 * @return the content type
717 */
718 public MessageBytes contentType() {
719 if (contentTypeMB == null) {
720 contentTypeMB = headers.getValue("content-type");
721 }
722 return contentTypeMB;
723 }
724
725
726 /**

Callers 2

getContentTypeMethod · 0.95
prepareRequestMethod · 0.80

Calls 1

getValueMethod · 0.65

Tested by

no test coverage detected