Top Constructors Methods
org.wildfly.common.net

pack-priv final Class GetHostInfoAction

extends Object
implements PrivilegedAction<String[]>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.net.UnknownHostException, java.security.PrivilegedAction, java.util.regex.Pattern

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String[]
run()

Implements java.security.PrivilegedAction.run.

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

Constructor Detail

GetHostInfoActionback to summary
pack-priv GetHostInfoAction()

Method Detail

runback to summary
public String[] run()

Implements java.security.PrivilegedAction.run.

Doc from java.security.PrivilegedAction.run.

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

Returns:String[]

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