Iterator<SubResourceMethodDescriptor> i = getSubres.iterator();
while (i.hasNext())
{
SubResourceMethodDescriptor srmd = (SubResourceMethodDescriptor)i.next();
if (findMethodResourceMediaType(headSubres, srmd.consumes(), srmd.produces()) == null)
{
headSubres.add(new SubResourceMethodDescriptorImpl(srmd.getPathValue(), srmd.getMethod(),
HttpMethod.HEAD, srmd.getMethodParameters(), this, srmd.consumes(), srmd.produces(),
new DefaultMethodInvoker()));
}