public class CosmeticsHandler extends Object implements org.eclipse.jetty.server.Handler
Constructor and Description |
---|
CosmeticsHandler(List<String> interceptedResourceList) |
Modifier and Type | Method and Description |
---|---|
void |
addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener) |
void |
destroy() |
org.eclipse.jetty.server.Server |
getServer() |
void |
handle(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() |
public void stop() throws Exception
stop
in interface org.eclipse.jetty.util.component.LifeCycle
Exception
public void start() throws Exception
start
in interface org.eclipse.jetty.util.component.LifeCycle
Exception
public void removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
removeLifeCycleListener
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isStopping()
isStopping
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isStopped()
isStopped
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isStarting()
isStarting
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isStarted()
isStarted
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isRunning()
isRunning
in interface org.eclipse.jetty.util.component.LifeCycle
public boolean isFailed()
isFailed
in interface org.eclipse.jetty.util.component.LifeCycle
public void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
addLifeCycleListener
in interface org.eclipse.jetty.util.component.LifeCycle
public void setServer(org.eclipse.jetty.server.Server server)
setServer
in interface org.eclipse.jetty.server.Handler
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
handle
in interface org.eclipse.jetty.server.Handler
IOException
javax.servlet.ServletException
public org.eclipse.jetty.server.Server getServer()
getServer
in interface org.eclipse.jetty.server.Handler
public void destroy()
destroy
in interface org.eclipse.jetty.server.Handler
destroy
in interface org.eclipse.jetty.util.component.Destroyable
Copyright © 2020. All rights reserved.