@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Symbol(value="userAgent") public class UserAgentURLConnectionDecorator extends URLConnectionDecorator
HttpURLConnection
.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
UserAgentURLConnectionDecorator() |
Modifier and Type | Method and Description |
---|---|
void |
decorate(URLConnection con)
Called before it gets connected.
|
all
public void decorate(URLConnection con) throws IOException
URLConnectionDecorator
decorate
in class URLConnectionDecorator
IOException
Copyright © 2004–2021. All rights reserved.