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

Method getContentType

java/org/apache/coyote/Request.java:694–700  ·  view source on GitHub ↗

Return the content type as a string. @return the content type

()

Source from the content-addressed store, hash-verified

692 * @return the content type
693 */
694 public String getContentType() {
695 contentType();
696 if (contentTypeMB == null || contentTypeMB.isNull()) {
697 return null;
698 }
699 return contentTypeMB.toStringType();
700 }
701
702
703 /**

Callers 2

getCharacterEncodingMethod · 0.95
getCharsetHolderMethod · 0.95

Calls 3

contentTypeMethod · 0.95
toStringTypeMethod · 0.80
isNullMethod · 0.65

Tested by

no test coverage detected