ReplayApiResponse

@InternalApi()
public final class ReplayApiResponse extends ApiResponse

Provides a simulated HTTP response from a replay file.

Constructors

Link copied to clipboard
public void ReplayApiResponse(ArrayNode bodySegments, int statusCode, Headers headers, boolean isStream)

Properties

Link copied to clipboard
public final ResponseBody body
Link copied to clipboard
public final Headers headers
Link copied to clipboard
public final int statusCode

Functions

Link copied to clipboard
public void close()
public abstract void close()
Link copied to clipboard
public ResponseBody getBody()
Gets the ResponseBody.
Link copied to clipboard
public Headers getHeaders()
Returns all of the headers from the response.
Link copied to clipboard
public int getStatusCode()