Deprecated
for removal since 25.
This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
jdk.net.ExtendedSocketOptions
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NetworkPermission(String
the permission target name name)Creates a NetworkPermission with the given target name. |
| public | NetworkPermission(String
the permission target name name, String should be actions)null. Is ignored if not.Creates a NetworkPermission with the given target name. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NetworkPermission | back to summary |
|---|---|
| public NetworkPermission(String name) Creates a NetworkPermission with the given target name.
| |
| NetworkPermission | back to summary |
|---|---|
| public NetworkPermission(String name, String actions) Creates a NetworkPermission with the given target name.
| |