diff src/org/eclipse/jetty/io/StringCache.java @ 1023:27f3dc761452

MimeTypes uses StringCache
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 01 Nov 2016 03:44:46 -0600
parents 3718afd99988
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/StringCache.java	Tue Nov 01 01:04:46 2016 -0600
+++ b/src/org/eclipse/jetty/io/StringCache.java	Tue Nov 01 03:44:46 2016 -0600
@@ -30,6 +30,11 @@
 		return stringToOrdinal.containsKey(value.toLowerCase());
 	}
 
+	public String get(String value)
+	{
+		return stringMap.get(value.toLowerCase());
+	}
+
 	public String getBest(String key) {
 		key = key.toLowerCase();
 		String rtn = stringMap.get(key);