headList = new ArrayList<ResourceMethod>();
}
for (final ResourceMethod getMethod : getList) {
if (!containsMediaOfMethod(headList, getMethod)) {
final ResourceMethod headMethod = new ResourceHeadWrapperMethod(getMethod);
methodMap.put(headMethod);
headList = methodMap.get(HttpMethod.HEAD);
}
}
}