Package step.plugins.cosmetics
Class CosmeticsHandler
- java.lang.Object
-
- step.plugins.cosmetics.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
-
-
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()
-
-
-
Method Detail
-
stop
public void stop() throws java.lang.Exception
- Specified by:
stop
in interfaceorg.eclipse.jetty.util.component.LifeCycle
- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception
- Specified by:
start
in interfaceorg.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 interfaceorg.eclipse.jetty.util.component.LifeCycle
-
isStopping
public boolean isStopping()
- Specified by:
isStopping
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
isStopped
public boolean isStopped()
- Specified by:
isStopped
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
isStarting
public boolean isStarting()
- Specified by:
isStarting
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
isFailed
public boolean isFailed()
- Specified by:
isFailed
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
addLifeCycleListener
public void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
- Specified by:
addLifeCycleListener
in interfaceorg.eclipse.jetty.util.component.LifeCycle
-
setServer
public void setServer(org.eclipse.jetty.server.Server server)
- Specified by:
setServer
in interfaceorg.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 interfaceorg.eclipse.jetty.server.Handler
- Throws:
java.io.IOException
javax.servlet.ServletException
-
getServer
public org.eclipse.jetty.server.Server getServer()
- Specified by:
getServer
in interfaceorg.eclipse.jetty.server.Handler
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.eclipse.jetty.util.component.Destroyable
- Specified by:
destroy
in interfaceorg.eclipse.jetty.server.Handler
-
-