public class WebResponse extends Object
| Constructor and Description |
|---|
WebResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ArtifactContent |
getBody()
Represents the contents of an artifact.
|
Headers__1 |
getHeaders()
The response headers.
|
Integer |
getIndex()
The index within the run.webResponses array of the response object associated with this result.
|
Boolean |
getNoResponseReceived()
Specifies whether a response was received from the server.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
String |
getProtocol()
The response protocol.
|
String |
getReasonPhrase()
The response reason.
|
Integer |
getStatusCode()
The response status code.
|
String |
getVersion()
The response version.
|
int |
hashCode() |
void |
setBody(ArtifactContent body)
Represents the contents of an artifact.
|
void |
setHeaders(Headers__1 headers)
The response headers.
|
void |
setIndex(Integer index)
The index within the run.webResponses array of the response object associated with this result.
|
void |
setNoResponseReceived(Boolean noResponseReceived)
Specifies whether a response was received from the server.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setProtocol(String protocol)
The response protocol.
|
void |
setReasonPhrase(String reasonPhrase)
The response reason.
|
void |
setStatusCode(Integer statusCode)
The response status code.
|
void |
setVersion(String version)
The response version.
|
String |
toString() |
WebResponse |
withBody(ArtifactContent body) |
WebResponse |
withHeaders(Headers__1 headers) |
WebResponse |
withIndex(Integer index) |
WebResponse |
withNoResponseReceived(Boolean noResponseReceived) |
WebResponse |
withProperties(PropertyBag properties) |
WebResponse |
withProtocol(String protocol) |
WebResponse |
withReasonPhrase(String reasonPhrase) |
WebResponse |
withStatusCode(Integer statusCode) |
WebResponse |
withVersion(String version) |
public Integer getIndex()
public void setIndex(Integer index)
public WebResponse withIndex(Integer index)
public String getProtocol()
public void setProtocol(String protocol)
public WebResponse withProtocol(String protocol)
public String getVersion()
public void setVersion(String version)
public WebResponse withVersion(String version)
public Integer getStatusCode()
public void setStatusCode(Integer statusCode)
public WebResponse withStatusCode(Integer statusCode)
public String getReasonPhrase()
public void setReasonPhrase(String reasonPhrase)
public WebResponse withReasonPhrase(String reasonPhrase)
public Headers__1 getHeaders()
public void setHeaders(Headers__1 headers)
public WebResponse withHeaders(Headers__1 headers)
public ArtifactContent getBody()
public void setBody(ArtifactContent body)
public WebResponse withBody(ArtifactContent body)
public Boolean getNoResponseReceived()
public void setNoResponseReceived(Boolean noResponseReceived)
public WebResponse withNoResponseReceived(Boolean noResponseReceived)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public WebResponse withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.