else if (name.equals(NAME_RESOURCE_HOST_DOMAIN))
else if (key.equals(NAME_RESOURCE_HOST_DOMAIN))
   public boolean containsKey(String key)	{		boolean result = false;		String name = key.toString();		if (name.startsWith(NAME_ATTRIBUTE))		{			result = (request.getAttributes().size() > 0)					|| (response.getAttributes().size() > 0);		}		else if (name.equals(NAME_BASE_URI))		{			result = (request.getBaseRef() != null);		}		else if (name.startsWith(NAME_CLIENT_ADDRESS))		{			result = (request.getClientInfo().getAddress() != null);		}		else if (name.equals(NAME_CLIENT_AGENT))		{			result = (request.getClientInfo().getAgent() != null);		}		else if (name.startsWith(NAME_COOKIE))		{			result = (request.getCookies() != null) && (request.getCookies().size() > 0);		}		else if (name.equals(NAME_METHOD))		{			result = (request.getMethod() != null);		}		else if (name.equals(NAME_REDIRECT_URI))		{			result = (response.getRedirectRef() != null);		}		else if (name.equals(NAME_REFERRER_URI))		{			result = (request.getReferrerRef() != null);		}		else if (name.equals(NAME_RELATIVE_URI))		{			result = (request.getRelativePart() != null);		}		else if (name.equals(NAME_RESOURCE_AUTHORITY))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getAuthority() != null);		}		else if (name.equals(NAME_RESOURCE_FRAGMENT))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getFragment() != null);		}		else if (name.equals(NAME_RESOURCE_HOST_DOMAIN))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getHostDomain() != null);		}		else if (name.equals(NAME_RESOURCE_HOST_PORT))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getHostPort() != null);		}		else if (name.equals(NAME_RESOURCE_HOST_IDENTIFIER))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getHostIdentifier() != null);		}		else if (name.equals(NAME_RESOURCE_IDENTIFIER))		{			result = (request.getResourceRef() != null);		}		else if (name.equals(NAME_RESOURCE_PATH))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getPath() != null);		}		else if (name.startsWith(NAME_RESOURCE_QUERY))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getQuery() != null);		}		else if (name.equals(NAME_RESOURCE_SCHEME))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getScheme() != null);		}		else if (name.startsWith(NAME_RESOURCE_SEGMENT))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getSegments().size() > 0);		}		else if (name.equals(NAME_RESOURCE_URI))		{			result = (request.getResourceRef() != null);		}		else if (name.equals(NAME_RESOURCE_USER_INFO))		{			result = (request.getResourceRef() != null)					&& (request.getResourceRef().getUserInfo() != null);		}		else if (name.equals(NAME_SERVER_ADDRESS))		{			result = (response.getServerInfo().getAddress() != null);		}		else if (name.equals(NAME_SERVER_AGENT))		{			result = (response.getServerInfo().getAgent() != null);		}		else if (name.equals(NAME_STATUS))		{			result = (response.getStatus() != null);		}		return result;	}