Check whether the given capability is supported by this server. Returns true if so, otherwise returns false.
(String c)
| 248 | * returns false. |
| 249 | */ |
| 250 | synchronized boolean hasCapability(String c) { |
| 251 | return capabilities != null && |
| 252 | capabilities.containsKey(c.toUpperCase(Locale.ENGLISH)); |
| 253 | } |
| 254 | |
| 255 | /** |
| 256 | * Return the map of capabilities returned by the server. |
no test coverage detected