HttpResponse.withRequest(HttpRequest request) Method

Definition

Sets the request which resulted in this HttpResponse.

public final HttpResponse withRequest(HttpRequest request)

Parameters

request
HttpRequest

the request

Returns

this HTTP response

Applies to