Class ContentPostProcessorService


  • public final class ContentPostProcessorService
    extends java.lang.Object
    Content Post Processor Service
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean hasProcessor()
      Has processor registered.
      static void init()
      Initialize the service
      static java.lang.String process​(javax.servlet.http.HttpServletRequest request, java.lang.String strContent)
      Process a content
      • Methods inherited from class java.lang.Object

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

      • init

        public static void init()
        Initialize the service
      • hasProcessor

        public static boolean hasProcessor()
        Has processor registered. Use this method before processing for performance issue.
        Returns:
        True if there at least one processor registered
      • process

        public static java.lang.String process​(javax.servlet.http.HttpServletRequest request,
                                               java.lang.String strContent)
        Process a content
        Parameters:
        request - The HTTP Request
        strContent - The content to process
        Returns:
        The processed content