Class WebHijackPreventionStrategy.CommentWebHijackPreventionStrategy

    • Constructor Detail

      • CommentWebHijackPreventionStrategy

        private CommentWebHijackPreventionStrategy()
    • Method Detail

      • protect

        public java.lang.String protect​(java.lang.String str)
        Description copied from class: WebHijackPreventionStrategy
        Transforms the input with the desired strategy.
        Specified by:
        protect in class WebHijackPreventionStrategy
        Parameters:
        str - a json string
        Returns:
        String - the transformed json string