// it does not provide an interface to modify its target URL. If
// propagation with those targets is to be supported, it needs a custom
// Response subclass.
if (isRedirect() && target instanceof BookmarkablePageRequestTarget)
{
BookmarkablePageRequestTarget bookmark = (BookmarkablePageRequestTarget) target;
// if a cid has already been specified, don't override it
if (!bookmark.getPageParameters().containsKey("cid"))
bookmark.getPageParameters().add("cid", conversation.getId());
}
// If we have a target page, propagate the conversation to the page's
// metadata
if (page != null)