public class AttachmentResourceIdentifierResolver extends Object implements ResourceIdentifierResolver<AttachmentResourceIdentifier,Attachment>
Attachments. It will first attempt to resolve the attachment against any prefetched attachments stored in the
AttachmentPrefetcher, and will fall back to fetching them from
AttachmentManagerif that fails.
|Constructor and Description|
|Modifier and Type||Method and Description|
public Attachment resolve(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
attachmentResourceIdentifier- resource identifier
conversionContext- the conversion context
CannotResolveResourceIdentifierException- if the specified resource identifier cannot be resolved (this shouldn't typically happen unless someone has removed the resource)
Copyright © 2003–2021 Atlassian. All rights reserved.