private Map<Class<?>, HeaderDelegate<?>> headerDelegates =
new HashMap<Class<?>, HeaderDelegate<?>>();
public RuntimeDelegateImpl() {
headerDelegates.put(MediaType.class, new MediaTypeHeaderDelegate());
headerDelegates.put(NewCookie.class, new NewCookieHeaderDelegate());
headerDelegates.put(Date.class, new DateHeaderDelegate());
headerDelegates.put(CacheControl.class, new CacheControlHeaderDelegate());
headerDelegates.put(Cookie.class, new CookieHeaderDelegate());
headerDelegates.put(EntityTag.class, new EntityTagHeaderDelegate());
headerDelegates.put(EntityTagMatchHeader.class, new EntityTagMatchHeaderDelegate());