public class DownloadMechanism extends ExportMechanism
Modifier and Type | Class and Description |
---|---|
static class |
DownloadMechanism.DescriptorImpl |
Constructor and Description |
---|
DownloadMechanism() |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doDynamic()
To serve the recipe under arbitrary file name.
|
org.kohsuke.stapler.HttpResponse |
doExport(org.kohsuke.stapler.StaplerRequest req)
Once the user selected the export mechanism, this method is called
to perform the export operation.
|
getDescriptor, getRecipe, setRecipe
public org.kohsuke.stapler.HttpResponse doExport(org.kohsuke.stapler.StaplerRequest req)
ExportMechanism
doExport
in class ExportMechanism
public org.kohsuke.stapler.HttpResponse doDynamic() throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2004-2014. All Rights Reserved.