jetbrains.buildServer.web.util
Class PageResourceCompressor

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by jetbrains.buildServer.web.util.PageResourceCompressor
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PageResourceCompressor
extends javax.servlet.http.HttpServlet

CSS & JS

See Also:
Serialized Form

Constructor Summary
PageResourceCompressor()
           
 
Method Summary
 void destroy()
           
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  long getLastModified(javax.servlet.http.HttpServletRequest request)
           
 void init(javax.servlet.ServletConfig servletConfig)
           
static java.util.List<java.lang.String> link(javax.servlet.http.HttpServletRequest request, java.lang.String list, java.lang.String ext)
          This method called from tags.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageResourceCompressor

public PageResourceCompressor()
Method Detail

link

public static java.util.List<java.lang.String> link(javax.servlet.http.HttpServletRequest request,
                                                    java.lang.String list,
                                                    java.lang.String ext)
This method called from tags.

Parameters:
request - originating request
list - resources
ext - type @return list of links to embed
Returns:
referece that will be processed

getLastModified

protected long getLastModified(javax.servlet.http.HttpServletRequest request)
Overrides:
getLastModified in class javax.servlet.http.HttpServlet

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException