Class DefaultRedirectResolver

java.lang.Object
org.nuxeo.ecm.core.io.download.DefaultRedirectResolver
All Implemented Interfaces:
RedirectResolver

public class DefaultRedirectResolver extends Object implements RedirectResolver
Since:
8.3 Use the BlobManager getURI method for redirect
Author:
Remi Cattiau
  • Constructor Details

    • DefaultRedirectResolver

      public DefaultRedirectResolver()
  • Method Details

    • getURI

      public URI getURI(Blob blob, BlobManager.UsageHint usage, javax.servlet.http.HttpServletRequest request) throws IOException
      Description copied from interface: RedirectResolver
      Return a redirect URI if possible to the specified Blob
      Specified by:
      getURI in interface RedirectResolver
      Parameters:
      blob - to get the URI for
      usage - for
      request - Native Http request
      Returns:
      The URI to the resource or null if cannot create a direct URI
      Throws:
      IOException