public class WebRequest extends Object
| Constructor and Description |
|---|
WebRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ArtifactContent |
getBody()
Represents the contents of an artifact.
|
Headers |
getHeaders()
The request headers.
|
Integer |
getIndex()
The index within the run.webRequests array of the request object associated with this result.
|
String |
getMethod()
The HTTP method.
|
Parameters |
getParameters()
The request parameters.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
String |
getProtocol()
The request protocol.
|
String |
getTarget()
The target of the request.
|
String |
getVersion()
The request version.
|
int |
hashCode() |
void |
setBody(ArtifactContent body)
Represents the contents of an artifact.
|
void |
setHeaders(Headers headers)
The request headers.
|
void |
setIndex(Integer index)
The index within the run.webRequests array of the request object associated with this result.
|
void |
setMethod(String method)
The HTTP method.
|
void |
setParameters(Parameters parameters)
The request parameters.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setProtocol(String protocol)
The request protocol.
|
void |
setTarget(String target)
The target of the request.
|
void |
setVersion(String version)
The request version.
|
String |
toString() |
WebRequest |
withBody(ArtifactContent body) |
WebRequest |
withHeaders(Headers headers) |
WebRequest |
withIndex(Integer index) |
WebRequest |
withMethod(String method) |
WebRequest |
withParameters(Parameters parameters) |
WebRequest |
withProperties(PropertyBag properties) |
WebRequest |
withProtocol(String protocol) |
WebRequest |
withTarget(String target) |
WebRequest |
withVersion(String version) |
public Integer getIndex()
public void setIndex(Integer index)
public WebRequest withIndex(Integer index)
public String getProtocol()
public void setProtocol(String protocol)
public WebRequest withProtocol(String protocol)
public String getVersion()
public void setVersion(String version)
public WebRequest withVersion(String version)
public String getTarget()
public void setTarget(String target)
public WebRequest withTarget(String target)
public String getMethod()
public void setMethod(String method)
public WebRequest withMethod(String method)
public Headers getHeaders()
public void setHeaders(Headers headers)
public WebRequest withHeaders(Headers headers)
public Parameters getParameters()
public void setParameters(Parameters parameters)
public WebRequest withParameters(Parameters parameters)
public ArtifactContent getBody()
public void setBody(ArtifactContent body)
public WebRequest withBody(ArtifactContent body)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public WebRequest withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.