public class HttpRequest
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpRequest.DescriptorImpl |
| Constructor and Description |
|---|
HttpRequest(String url,
HttpMode httpMode,
String authentication,
MimeType contentType,
MimeType acceptType,
String outputFile,
Boolean returnCodeBuildRelevant,
Boolean consoleLogResponseBody,
Boolean passBuildParameters,
List<NameValuePair> customHeaders,
Integer timeout,
String validResponseCodes,
String validResponseContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
defineDefaultConfigurations() |
MimeType |
getAcceptType() |
String |
getAuthentication() |
Boolean |
getConsoleLogResponseBody() |
MimeType |
getContentType() |
List<NameValuePair> |
getCustomHeaders() |
HttpRequest.DescriptorImpl |
getDescriptor() |
HttpMode |
getHttpMode() |
String |
getOutputFile() |
Boolean |
getPassBuildParameters() |
Integer |
getTimeout() |
String |
getUrl() |
String |
getValidResponseCodes() |
String |
getValidResponseContent() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
Object |
readResolve() |
static void |
xStreamCompatibility() |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public HttpRequest(String url, HttpMode httpMode, String authentication, MimeType contentType, MimeType acceptType, String outputFile, Boolean returnCodeBuildRelevant, Boolean consoleLogResponseBody, Boolean passBuildParameters, List<NameValuePair> customHeaders, Integer timeout, String validResponseCodes, String validResponseContent) throws URISyntaxException
URISyntaxException@Initializer(before=PLUGINS_STARTED) public static void xStreamCompatibility()
public Object readResolve()
public void defineDefaultConfigurations()
public Boolean getConsoleLogResponseBody()
public String getUrl()
public HttpMode getHttpMode()
public MimeType getContentType()
public MimeType getAcceptType()
public List<NameValuePair> getCustomHeaders()
public String getOutputFile()
public String getAuthentication()
public Boolean getPassBuildParameters()
public Integer getTimeout()
public String getValidResponseCodes()
public String getValidResponseContent()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic HttpRequest.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2015. All Rights Reserved.