Class 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 Detail

      • DefaultRedirectResolver

        public DefaultRedirectResolver()
    • Method Detail

      • 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