Top Fields Constructors Methods
org.jboss.modules

pack-priv final Class GetURLConnectionAction

extends Object
implements PrivilegedExceptionAction<URLConnection>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedExceptionAction
Imports
java.io.IOException, java.net.URL, .URLConnection, java.security.PrivilegedExceptionAction

Field Summary

Modifier and TypeField and Description
private final URL

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public URLConnection
run()

Implements java.security.PrivilegedExceptionAction.run.

Performs the computation.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

urlback to summary
private final URL url

Constructor Detail

GetURLConnectionActionback to summary
pack-priv GetURLConnectionAction(final URL url)

Method Detail

runback to summary
public URLConnection run() throws IOException

Implements java.security.PrivilegedExceptionAction.run.

Doc from java.security.PrivilegedExceptionAction.run.

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:URLConnection

a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedExceptionAction should document what (if anything) this value represents.