Package org.nuxeo.ecm.core.io.download
Interface RedirectResolver
- All Known Implementing Classes:
DefaultRedirectResolver
public interface RedirectResolver
- Since:
- 8.3 Return a URI to redirect client to for a specified blob if possible
-
Method Summary
Modifier and TypeMethodDescriptiongetURI
(Blob blob, BlobManager.UsageHint usage, javax.servlet.http.HttpServletRequest request) Return a redirect URI if possible to the specified Blob
-
Method Details
-
getURI
URI getURI(Blob blob, BlobManager.UsageHint usage, javax.servlet.http.HttpServletRequest request) throws IOException Return a redirect URI if possible to the specified Blob- Parameters:
blob
- to get the URI forusage
- forrequest
- Native Http request- Returns:
- The URI to the resource or null if cannot create a direct URI
- Throws:
IOException
-