Class PageResourceCompressorImpl

  • All Implemented Interfaces:
    PageResourceCompressor, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

    public class PageResourceCompressorImpl
    extends BaseController
    implements PageResourceCompressor
    CSS & JS
    • Method Detail

      • link

        public List<String> link​(javax.servlet.http.HttpServletRequest request,
                                 String list,
                                 String ext)
        This method called from tags.
        Specified by:
        link in interface PageResourceCompressor
        Parameters:
        request - originating request
        list - resources
        ext - type @return list of links to embed
        Returns:
        referece that will be processed
      • init

        public void init()
      • doHandle

        @Nullable
        protected org.springframework.web.servlet.ModelAndView doHandle​(@NotNull
                                                                        javax.servlet.http.HttpServletRequest request,
                                                                        @NotNull
                                                                        javax.servlet.http.HttpServletResponse response)
                                                                 throws Exception
        Description copied from class: BaseController
        Performs actual request processing
        Specified by:
        doHandle in class BaseController
        Parameters:
        request - HTTP request
        response - HTTP response
        Returns:
        model and view components
        Throws:
        Exception - exception
      • hasKeyInCache

        public boolean hasKeyInCache​(@NotNull
                                     String key)
      • getPath

        @NotNull
        public String getPath​(@NotNull
                              String name)