HttpRequest.withUri(URI uri) Method

Definition

Set the target address to send the request to.

public HttpRequest withUri(URI uri)

Parameters

uri
java.net.URI

target address as URI

Returns

this HttpRequest

Applies to