Class SpringServeHelper


  • public class SpringServeHelper
    extends java.lang.Object
    • Field Detail

      • SPRING_SERVE_MACRO_KEY_WIDTH

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_WIDTH
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_HEIGHT

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_HEIGHT
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_APP_BUNDLE

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_APP_BUNDLE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_APP_NAME

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_APP_NAME
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_CACHEBUSTER

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_CACHEBUSTER
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_DESCRIPTION

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_DESCRIPTION
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_DURATION

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_DURATION
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_AUTOPLAY

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_AUTOPLAY
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_MUTE

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_MUTE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_KEYWORDS

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_KEYWORDS
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_MEDIA_ID

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_MEDIA_ID
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_ENCODED_VIDEO_TITLE

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_ENCODED_VIDEO_TITLE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_VIDEO_ID

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_VIDEO_ID
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_CONTENT_ID

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_CONTENT_ID
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_CONTENT_TITLE

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_CONTENT_TITLE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_CONTENT_LIVESTREAM

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_CONTENT_LIVESTREAM
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_KEY_LANGUAGE

        public static final java.lang.String SPRING_SERVE_MACRO_KEY_LANGUAGE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_WIDTH

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_WIDTH
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_HEIGHT

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_HEIGHT
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_APP_BUNDLE

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_APP_BUNDLE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_APP_NAME

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_APP_NAME
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_CACHEBUSTER

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_CACHEBUSTER
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_DESCRIPTION

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_DESCRIPTION
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_DURATION

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_DURATION
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_AUTOPLAY

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_AUTOPLAY
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_MUTE

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_MUTE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_KEYWORDS

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_KEYWORDS
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_MEDIA_ID

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_MEDIA_ID
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_ENCODED_VIDEO_TITLE

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_ENCODED_VIDEO_TITLE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_VIDEO_ID

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_VIDEO_ID
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_CONTENT_ID

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_CONTENT_ID
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_CONTENT_TITLE

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_CONTENT_TITLE
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_CONTENT_LIVESTREAM

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_CONTENT_LIVESTREAM
        See Also:
        Constant Field Values
      • SPRING_SERVE_MACRO_PARAM_LANGUAGE

        public static final java.lang.String SPRING_SERVE_MACRO_PARAM_LANGUAGE
        See Also:
        Constant Field Values
      • paramMacroKeyMap

        public static final java.util.HashMap<java.lang.String,​java.lang.String> paramMacroKeyMap
    • Constructor Detail

      • SpringServeHelper

        public SpringServeHelper()
    • Method Detail

      • getSpringServeEncodedURL

        public java.lang.String getSpringServeEncodedURL​(@NonNull
                                                         java.util.HashMap<java.lang.String,​java.lang.Object> macroValues,
                                                         java.lang.String url)
      • getSpringServeURL

        public java.lang.String getSpringServeURL​(@NonNull
                                                  java.util.HashMap<java.lang.String,​java.lang.Object> macroValues,
                                                  java.lang.String url)
      • setBaseVideoView

        public void setBaseVideoView​(BaseVideoView baseVideoView)
      • removeMacros

        public java.lang.String removeMacros​(java.lang.String url)