for (Map.Entry<PathPattern, ResourceMethodMap> e : patternMethodMap.entrySet()) {
if (implictProduces != null) {
List<ResourceMethod> getList = e.getValue().get(HttpMethod.GET);
if (getList != null && !getList.isEmpty()) {
e.getValue().put(new ViewResourceMethod(implictProduces));
}
}
processHead(e.getValue());
processOptions(e.getValue(), this.resource, e.getKey());