copy

fun copy(nodeIdentifier: NodeIdentifier? = null): HttpTarget

Returns a copy of this target with a different node.

Parameters

nodeIdentifier

node to receive requests, or null to let the service locator decide.