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

Method getAttributeNames

java/org/apache/catalina/connector/Request.java:1029–1038  ·  view source on GitHub ↗

{@inheritDoc} The attribute names returned will only be those for the attributes set via #setAttribute(String, Object). Tomcat internal attributes will not be included even though they are accessible via #getAttribute(String). The Tomcat internal attributes include: {@li

()

Source from the content-addressed store, hash-verified

1027 * attributes.
1028 */
1029 @Override
1030 public Enumeration<String> getAttributeNames() {
1031 if (isSecure() && !sslAttributesParsed) {
1032 getAttribute(Globals.CERTIFICATES_ATTR);
1033 }
1034 // Take a copy to prevent ConcurrentModificationExceptions if used to
1035 // remove attributes
1036 Set<String> names = new HashSet<>(attributes.keySet());
1037 return Collections.enumeration(names);
1038 }
1039
1040
1041 @Override

Callers

nothing calls this directly

Calls 3

isSecureMethod · 0.95
getAttributeMethod · 0.95
keySetMethod · 0.45

Tested by

no test coverage detected