if (key instanceof FilterConfigKey) {
FilterConfigKey<? extends PathMatchingFilter> configKey = (FilterConfigKey<? extends PathMatchingFilter>) key;
key = configKey.getKey();
filterChain.getValue()[i] = key;
if (!PathMatchingFilter.class.isAssignableFrom(key.getTypeLiteral().getRawType())) {
throw new ConfigurationException("Config information requires a PathMatchingFilter - can't apply to " + key.getTypeLiteral().getRawType());
}
configs.put(castToPathMatching(key), filterChain.getKey(), configKey.getConfigValue());
} else if (PathMatchingFilter.class.isAssignableFrom(key.getTypeLiteral().getRawType())) {
configs.put(castToPathMatching(key), filterChain.getKey(), "");
}