public class ReportRenderer extends Object
GatlingBuildAction to handle the rendering
of gatling reports.| Constructor and Description |
|---|
ReportRenderer(hudson.model.Action gatlingBuildAction,
BuildSimulation simulation) |
| Modifier and Type | Method and Description |
|---|---|
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
This method will be called when there are no remaining URL tokens to
process after
GatlingBuildAction has handled the initial
`/report/MySimulationName` prefix. |
void |
doSource(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
This method will be called for all URLs that are routed here by
GatlingBuildAction with a prefix of `/source`. |
public ReportRenderer(hudson.model.Action gatlingBuildAction,
BuildSimulation simulation)
public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException,
javax.servlet.ServletException
GatlingBuildAction has handled the initial
`/report/MySimulationName` prefix. It renders the `report.jelly`
template inside of the Jenkins UI.request - response - IOExceptionjavax.servlet.ServletExceptionpublic void doSource(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException,
javax.servlet.ServletException
GatlingBuildAction with a prefix of `/source`.
All such requests basically result in the servlet simply serving
up content files directly from the archived simulation directory
on disk.request - response - IOExceptionjavax.servlet.ServletExceptionCopyright © 2016–2018. All rights reserved.