MCPcopy Create free account
hub / github.com/apache/ant / setUserAgent

Method setUserAgent

src/main/org/apache/tools/ant/taskdefs/Get.java:468–470  ·  view source on GitHub ↗

HTTP connections only - set the user-agent to be used when communicating with remote server. if null, then the value is considered unset and the behaviour falls back to the default of the http API. @param userAgent String @since Ant 1.9.3

(final String userAgent)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected