Class AttachmentMediaUrlHelper


  • public class AttachmentMediaUrlHelper
    extends java.lang.Object
    Helper class for ticketing attachment media URL in cockpit and backoffice.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String urlHelper​(java.lang.String url)
      Helper method to build media url for ZK link.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • urlHelper

        public static java.lang.String urlHelper​(java.lang.String url)
        Helper method to build media url for ZK link. This help to add a ~ if the url starts with /, which is for the non-secured media.
        Parameters:
        url - the given media url
        Returns:
        rebuilt url