Class CosmeticsHandler

  • All Implemented Interfaces:
    org.eclipse.jetty.server.Handler, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.LifeCycle

    public class CosmeticsHandler
    extends Object
    implements org.eclipse.jetty.server.Handler
    • Constructor Detail

      • CosmeticsHandler

        public CosmeticsHandler​(List<String> interceptedResourceList)
    • Method Detail

      • stop

        public void stop()
                  throws Exception
        Specified by:
        stop in interface org.eclipse.jetty.util.component.LifeCycle
        Throws:
        Exception
      • start

        public void start()
                   throws Exception
        Specified by:
        start in interface org.eclipse.jetty.util.component.LifeCycle
        Throws:
        Exception
      • removeLifeCycleListener

        public void removeLifeCycleListener​(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
        Specified by:
        removeLifeCycleListener in interface org.eclipse.jetty.util.component.LifeCycle
      • isStopping

        public boolean isStopping()
        Specified by:
        isStopping in interface org.eclipse.jetty.util.component.LifeCycle
      • isStopped

        public boolean isStopped()
        Specified by:
        isStopped in interface org.eclipse.jetty.util.component.LifeCycle
      • isStarting

        public boolean isStarting()
        Specified by:
        isStarting in interface org.eclipse.jetty.util.component.LifeCycle
      • isStarted

        public boolean isStarted()
        Specified by:
        isStarted in interface org.eclipse.jetty.util.component.LifeCycle
      • isRunning

        public boolean isRunning()
        Specified by:
        isRunning in interface org.eclipse.jetty.util.component.LifeCycle
      • isFailed

        public boolean isFailed()
        Specified by:
        isFailed in interface org.eclipse.jetty.util.component.LifeCycle
      • addLifeCycleListener

        public void addLifeCycleListener​(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
        Specified by:
        addLifeCycleListener in interface org.eclipse.jetty.util.component.LifeCycle
      • setServer

        public void setServer​(org.eclipse.jetty.server.Server server)
        Specified by:
        setServer in interface org.eclipse.jetty.server.Handler
      • handle

        public void handle​(String target,
                           org.eclipse.jetty.server.Request baseRequest,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws IOException,
                           javax.servlet.ServletException
        Specified by:
        handle in interface org.eclipse.jetty.server.Handler
        Throws:
        IOException
        javax.servlet.ServletException
      • getServer

        public org.eclipse.jetty.server.Server getServer()
        Specified by:
        getServer in interface org.eclipse.jetty.server.Handler
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.eclipse.jetty.util.component.Destroyable
        Specified by:
        destroy in interface org.eclipse.jetty.server.Handler