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 java.lang.Object
    implements org.eclipse.jetty.server.Handler
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Constructor Summary

      Constructors 
      Constructor Description
      CosmeticsHandler​(java.util.List<java.lang.String> interceptedResourceList)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLifeCycleListener​(org.eclipse.jetty.util.component.LifeCycle.Listener listener)  
      void destroy()  
      org.eclipse.jetty.server.Server getServer()  
      void handle​(java.lang.String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      boolean isFailed()  
      boolean isRunning()  
      boolean isStarted()  
      boolean isStarting()  
      boolean isStopped()  
      boolean isStopping()  
      void removeLifeCycleListener​(org.eclipse.jetty.util.component.LifeCycle.Listener listener)  
      void setServer​(org.eclipse.jetty.server.Server server)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CosmeticsHandler

        public CosmeticsHandler​(java.util.List<java.lang.String> interceptedResourceList)
    • Method Detail

      • stop

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

        public void start()
                   throws java.lang.Exception
        Specified by:
        start in interface org.eclipse.jetty.util.component.LifeCycle
        Throws:
        java.lang.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​(java.lang.String target,
                           org.eclipse.jetty.server.Request baseRequest,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws java.io.IOException,
                           javax.servlet.ServletException
        Specified by:
        handle in interface org.eclipse.jetty.server.Handler
        Throws:
        java.io.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