Class RemoteTransformerClient


  • @Deprecated
    public class RemoteTransformerClient
    extends Object
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Client class that transfers content (from a ContentReader) to a remote transformation agent together with request parameters that will be used to transform the content. The transformed content is then returned and saved in a ContentWriter. In the event of an error an Exception is thrown.
    Since:
    6.0
    • Constructor Detail

      • RemoteTransformerClient

        public RemoteTransformerClient​(String name,
                                       String baseUrl)
        Deprecated.
    • Method Detail

      • setStartupRetryPeriodSeconds

        public void setStartupRetryPeriodSeconds​(int startupRetryPeriodSeconds)
        Deprecated.
      • getBaseUrl

        public String getBaseUrl()
        Deprecated.
      • check

        public Pair<Boolean,​String> check​(org.apache.commons.logging.Log logger)
        Deprecated.
        Indicates if a remote transform: a) ready probe has ever indicated success new Pair<>(true, <version string>), b) a ready probe has just failed new Pair<>(false, <error string>), or c) we are not performing a ready check as we have just done one new Pair<>(null, null).
      • isAvailable

        public boolean isAvailable()
        Deprecated.