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

Method isSchemeChar

java/org/apache/tomcat/util/buf/UriUtil.java:80–82  ·  view source on GitHub ↗

Determine if the character is allowed in the scheme of a URI. See RFC 2396, Section 3.1 @param c The character to test @return true if the character is allowed, otherwise false

(char c)

Source from the content-addressed store, hash-verified

78 * false}
79 */
80 private static boolean isSchemeChar(char c) {
81 return Character.isLetterOrDigit(c) || c == '+' || c == '-' || c == '.';
82 }
83
84
85 /**

Callers 2

hasSchemeMethod · 0.95
isAbsoluteURIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected