}
@Override
protected ISWFTagsRequestResult handleSWFTagsRequest() throws InterruptedException
{
final IABCBytesRequestResult abc = getABCBytesRequest().get();
startProfile(Operation.GET_SWF_TAGS);
try
{
String tagName;
String qname = getName();
if (qname == null || "".equals(qname))
tagName = DEFAULT_DO_ABC_TAG_NAME;
else
tagName = qname.replace('.', '/');
Collection<EmbedData> embeds = abc.getEmbeds();
if (embeds.size() == 0)
embeds = Collections.singleton(embedData);
return new SWFTagsRequestResult(abc.getABCBytes(), tagName, embeds);
}
finally
{
stopProfile(Operation.GET_SWF_TAGS);
}