lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

SocketPermission

public final class SocketPermission
extends Permission implements Serializable

java.lang.Object
   ↳ java.security.Permission
     ↳ java.net.SocketPermission


Legacy security code; do not use.

Summary

Public constructors

SocketPermission(String host, String action)

Public methods

String getActions()
boolean implies(Permission p)

Inherited methods

Public constructors

SocketPermission

added in API level 1
public SocketPermission (String host, 
                String action)

Parameters
host String

action String

Public methods

getActions

added in API level 1
public String getActions ()

Returns
String

implies

added in API level 1
public boolean implies (Permission p)

Parameters
p Permission

Returns
boolean