java.net
66 classes of the module java.base.
Load them with:
using {
"java.net"
}
Authenticator#
abstract · extends Object · java.net.Authenticator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDefault | getDefault() | static Authenticator getDefault() |
requestPasswordAuthentication | requestPasswordAuthentication([addr,port,protocol,prompt,scheme])requestPasswordAuthentication([ :addr = v, :port = v, :protocol = v, :prompt = v, :scheme = v ])requestPasswordAuthentication([host,addr,port,protocol,prompt,scheme])requestPasswordAuthentication([ :host = v, :addr = v, :port = v, :protocol = v, :prompt = v, :scheme = v ])requestPasswordAuthentication([host,addr,port,protocol,prompt,scheme,url,reqType])requestPasswordAuthentication([ :host = v, :addr = v, :port = v, :protocol = v, :prompt = v, :scheme = v, :url = v, :reqType = v ])requestPasswordAuthentication([authenticator,host,addr,port,protocol,prompt,scheme,url,reqType])requestPasswordAuthentication([ :authenticator = v, :host = v, :addr = v, :port = v, :protocol = v, :prompt = v, :scheme = v, :url = v, :reqType = v ]) | static PasswordAuthentication requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String scheme)static PasswordAuthentication requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme)static PasswordAuthentication requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType)static PasswordAuthentication requestPasswordAuthentication(Authenticator authenticator, String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) |
requestPasswordAuthenticationInstance | requestPasswordAuthenticationInstance(host,addr,port,protocol,prompt,scheme,url,reqType) | PasswordAuthentication requestPasswordAuthenticationInstance(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) |
setDefault | setDefault(a) | static void setDefault(Authenticator a) |
The methods and fields of Object are inherited.
AuthenticatorRequestorType#
enum · extends Enum · java.net.Authenticator$RequestorType
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PROXY | RequestorType | constant · static | o.PROXY |
SERVER | RequestorType | constant · static | o.SERVER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static RequestorType valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static RequestorType[] values() |
The methods and fields of Enum are inherited.
BindException#
class · extends SocketException · java.net.BindException
Constructors
new BindException() |
new BindException(String msg) |
Ring: new BindException(args) uses the constructor with the fewest parameters (at least one); new BindException makes the object with the constructor without parameters; the others: (new BindException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of SocketException are inherited.
CacheRequest#
abstract · extends Object · java.net.CacheRequest
Methods
| Method | Ring call | Java overloads |
|---|---|---|
abort | abort() | void abort() |
getBody | getBody() | OutputStream getBody() |
The methods and fields of Object are inherited.
CacheResponse#
abstract · extends Object · java.net.CacheResponse
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getBody | getBody() | InputStream getBody() |
getHeaders | getHeaders() | Map getHeaders() |
The methods and fields of Object are inherited.
ConnectException#
class · extends SocketException · java.net.ConnectException
Constructors
new ConnectException() |
new ConnectException(String msg) |
Ring: new ConnectException(args) uses the constructor with the fewest parameters (at least one); new ConnectException makes the object with the constructor without parameters; the others: (new ConnectException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of SocketException are inherited.
ContentHandler#
abstract · extends Object · java.net.ContentHandler
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getContent | getContent(urlc)getContent([urlc,classes])getContent([ :urlc = v, :classes = v ]) | Object getContent(URLConnection urlc)Object getContent(URLConnection urlc, Class[] classes) |
The methods and fields of Object are inherited.
ContentHandlerFactory#
interface · java.net.ContentHandlerFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createContentHandler | createContentHandler(mimetype) | ContentHandler createContentHandler(String mimetype) |
CookieHandler#
abstract · extends Object · java.net.CookieHandler
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(uri,requestHeaders) | Map get(URI uri, Map requestHeaders) |
@put | @put(uri,responseHeaders) | void put(URI uri, Map responseHeaders) |
getDefault | getDefault() | static CookieHandler getDefault() |
setDefault | setDefault(cHandler) | static void setDefault(CookieHandler cHandler) |
The methods and fields of Object are inherited.
CookieManager#
class · extends CookieHandler · java.net.CookieManager
Constructors
new CookieManager() |
new CookieManager(CookieStore store, CookiePolicy cookiePolicy) |
Ring: new CookieManager(args) uses the constructor with the fewest parameters (at least one); new CookieManager makes the object with the constructor without parameters; the others: (new CookieManager).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCookieStore | getCookieStore() | CookieStore getCookieStore() |
setCookiePolicy | setCookiePolicy(cookiePolicy) | void setCookiePolicy(CookiePolicy cookiePolicy) |
The methods and fields of CookieHandler are inherited.
CookiePolicy#
interface · java.net.CookiePolicy
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ACCEPT_ALL | CookiePolicy | constant · static | o.ACCEPT_ALL |
ACCEPT_NONE | CookiePolicy | constant · static | o.ACCEPT_NONE |
ACCEPT_ORIGINAL_SERVER | CookiePolicy | constant · static | o.ACCEPT_ORIGINAL_SERVER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
shouldAccept | shouldAccept(uri,cookie) | boolean shouldAccept(URI uri, HttpCookie cookie) |
CookieStore#
interface · java.net.CookieStore
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(uri) | List get(URI uri) |
add | add(uri,cookie) | void add(URI uri, HttpCookie cookie) |
getCookies | getCookies() | List getCookies() |
getURIs | getURIs() | List getURIs() |
remove | remove(uri,cookie) | boolean remove(URI uri, HttpCookie cookie) |
removeAll | removeAll() | boolean removeAll() |
DatagramPacket#
class final · extends Object · java.net.DatagramPacket
Constructors
new DatagramPacket(byte[] buf, int length) |
new DatagramPacket(byte[] buf, int length, SocketAddress address) |
new DatagramPacket(byte[] buf, int offset, int length) |
new DatagramPacket(byte[] buf, int length, InetAddress address, int port) |
new DatagramPacket(byte[] buf, int offset, int length, SocketAddress address) |
new DatagramPacket(byte[] buf, int offset, int length, InetAddress address, int port) |
Ring: new DatagramPacket(args) uses the constructor with the fewest parameters (at least one); new DatagramPacket makes the object with the constructor without parameters; the others: (new DatagramPacket).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAddress | getAddress() | InetAddress getAddress() |
getData | getData() | byte[] getData() |
getLength | getLength() | int getLength() |
getOffset | getOffset() | int getOffset() |
getPort | getPort() | int getPort() |
getSocketAddress | getSocketAddress() | SocketAddress getSocketAddress() |
setAddress | setAddress(iaddr) | void setAddress(InetAddress iaddr) |
setData | setData(buf)setData([buf,offset,length])setData([ :buf = v, :offset = v, :length = v ]) | void setData(byte[] buf)void setData(byte[] buf, int offset, int length) |
setLength | setLength(length) | void setLength(int length) |
setPort | setPort(iport) | void setPort(int iport) |
setSocketAddress | setSocketAddress(address) | void setSocketAddress(SocketAddress address) |
The methods and fields of Object are inherited.
DatagramSocket#
class · extends Object · java.net.DatagramSocket
Implements: Closeable
Constructors
new DatagramSocket() |
new DatagramSocket(int port) |
new DatagramSocket(SocketAddress bindaddr) |
new DatagramSocket(int port, InetAddress laddr) |
Ring: new DatagramSocket(args) uses the constructor with the fewest parameters (at least one); new DatagramSocket makes the object with the constructor without parameters; the others: (new DatagramSocket).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
bind | bind(addr) | void bind(SocketAddress addr) |
close | close() | void close() |
connect | connect(addr)connect([address,port])connect([ :address = v, :port = v ]) | void connect(SocketAddress addr)void connect(InetAddress address, int port) |
disconnect | disconnect() | void disconnect() |
getBroadcast | getBroadcast() | boolean getBroadcast() |
getChannel | getChannel() | DatagramChannel getChannel() |
getInetAddress | getInetAddress() | InetAddress getInetAddress() |
getLocalAddress | getLocalAddress() | InetAddress getLocalAddress() |
getLocalPort | getLocalPort() | int getLocalPort() |
getLocalSocketAddress | getLocalSocketAddress() | SocketAddress getLocalSocketAddress() |
getOption | getOption(name) | Object getOption(SocketOption name) |
getPort | getPort() | int getPort() |
getReceiveBufferSize | getReceiveBufferSize() | int getReceiveBufferSize() |
getRemoteSocketAddress | getRemoteSocketAddress() | SocketAddress getRemoteSocketAddress() |
getReuseAddress | getReuseAddress() | boolean getReuseAddress() |
getSendBufferSize | getSendBufferSize() | int getSendBufferSize() |
getSoTimeout | getSoTimeout() | int getSoTimeout() |
getTrafficClass | getTrafficClass() | int getTrafficClass() |
isBound | isBound() | boolean isBound() |
isClosed | isClosed() | boolean isClosed() |
isConnected | isConnected() | boolean isConnected() |
joinGroup | joinGroup(mcastaddr,netIf) | void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf) |
leaveGroup | leaveGroup(mcastaddr,netIf) | void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf) |
receive | receive(p) | void receive(DatagramPacket p) |
send | send(p) | void send(DatagramPacket p) |
setBroadcast | setBroadcast(on) | void setBroadcast(boolean on) |
setDatagramSocketImplFactory | setDatagramSocketImplFactory(fac) | static void setDatagramSocketImplFactory(DatagramSocketImplFactory fac) |
setOption | setOption(name,value) | DatagramSocket setOption(SocketOption name, Object value) |
setReceiveBufferSize | setReceiveBufferSize(size) | void setReceiveBufferSize(int size) |
setReuseAddress | setReuseAddress(on) | void setReuseAddress(boolean on) |
setSendBufferSize | setSendBufferSize(size) | void setSendBufferSize(int size) |
setSoTimeout | setSoTimeout(timeout) | void setSoTimeout(int timeout) |
setTrafficClass | setTrafficClass(tc) | void setTrafficClass(int tc) |
supportedOptions | supportedOptions() | Set supportedOptions() |
The methods and fields of Object are inherited.
DatagramSocketImpl#
abstract · extends Object · java.net.DatagramSocketImpl
Implements: SocketOptions
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TCP_NODELAY | int | constant · static | o.TCP_NODELAY |
SO_BINDADDR | int | constant · static | o.SO_BINDADDR |
SO_REUSEADDR | int | constant · static | o.SO_REUSEADDR |
SO_REUSEPORT | int | constant · static | o.SO_REUSEPORT |
SO_BROADCAST | int | constant · static | o.SO_BROADCAST |
IP_MULTICAST_IF | int | constant · static | o.IP_MULTICAST_IF |
IP_MULTICAST_IF2 | int | constant · static | o.IP_MULTICAST_IF2 |
IP_MULTICAST_LOOP | int | constant · static | o.IP_MULTICAST_LOOP |
IP_TOS | int | constant · static | o.IP_TOS |
SO_LINGER | int | constant · static | o.SO_LINGER |
SO_TIMEOUT | int | constant · static | o.SO_TIMEOUT |
SO_SNDBUF | int | constant · static | o.SO_SNDBUF |
SO_RCVBUF | int | constant · static | o.SO_RCVBUF |
SO_KEEPALIVE | int | constant · static | o.SO_KEEPALIVE |
SO_OOBINLINE | int | constant · static | o.SO_OOBINLINE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getOption | getOption(optID) | Object getOption(int optID) |
setOption | setOption(optID,value) | void setOption(int optID, Object value) |
The methods and fields of Object are inherited.
DatagramSocketImplFactory#
interface · java.net.DatagramSocketImplFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createDatagramSocketImpl | createDatagramSocketImpl() | DatagramSocketImpl createDatagramSocketImpl() |
FileNameMap#
interface · java.net.FileNameMap
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getContentTypeFor | getContentTypeFor(fileName) | String getContentTypeFor(String fileName) |
HttpCookie#
class final · extends Object · java.net.HttpCookie
Implements: Cloneable
Constructors
new HttpCookie(String name, String value) |
Ring: new HttpCookie(args) uses the constructor with the fewest parameters (at least one); new HttpCookie makes the object with the constructor without parameters; the others: (new HttpCookie).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
domainMatches | domainMatches(domain,host) | static boolean domainMatches(String domain, String host) |
getComment | getComment() | String getComment() |
getCommentURL | getCommentURL() | String getCommentURL() |
getDiscard | getDiscard() | boolean getDiscard() |
getDomain | getDomain() | String getDomain() |
getMaxAge | getMaxAge() | long getMaxAge() |
getName | getName() | String getName() |
getPath | getPath() | String getPath() |
getPortlist | getPortlist() | String getPortlist() |
getSecure | getSecure() | boolean getSecure() |
getValue | getValue() | String getValue() |
getVersion | getVersion() | int getVersion() |
hasExpired | hasExpired() | boolean hasExpired() |
isHttpOnly | isHttpOnly() | boolean isHttpOnly() |
parse | parse(header) | static List parse(String header) |
setComment | setComment(purpose) | void setComment(String purpose) |
setCommentURL | setCommentURL(purpose) | void setCommentURL(String purpose) |
setDiscard | setDiscard(discard) | void setDiscard(boolean discard) |
setDomain | setDomain(pattern) | void setDomain(String pattern) |
setHttpOnly | setHttpOnly(httpOnly) | void setHttpOnly(boolean httpOnly) |
setMaxAge | setMaxAge(expiry) | void setMaxAge(long expiry) |
setPath | setPath(uri) | void setPath(String uri) |
setPortlist | setPortlist(ports) | void setPortlist(String ports) |
setSecure | setSecure(flag) | void setSecure(boolean flag) |
setValue | setValue(newValue) | void setValue(String newValue) |
setVersion | setVersion(v) | void setVersion(int v) |
The methods and fields of Object are inherited.
HttpRetryException#
class · extends IOException · java.net.HttpRetryException
Constructors
new HttpRetryException(String detail, int code) |
new HttpRetryException(String detail, int code, String location) |
Ring: new HttpRetryException(args) uses the constructor with the fewest parameters (at least one); new HttpRetryException makes the object with the constructor without parameters; the others: (new HttpRetryException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLocation | getLocation() | String getLocation() |
getReason | getReason() | String getReason() |
responseCode | responseCode() | int responseCode() |
The methods and fields of IOException are inherited.
HttpURLConnection#
abstract · extends URLConnection · java.net.HttpURLConnection
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HTTP_OK | int | constant · static | o.HTTP_OK |
HTTP_CREATED | int | constant · static | o.HTTP_CREATED |
HTTP_ACCEPTED | int | constant · static | o.HTTP_ACCEPTED |
HTTP_NOT_AUTHORITATIVE | int | constant · static | o.HTTP_NOT_AUTHORITATIVE |
HTTP_NO_CONTENT | int | constant · static | o.HTTP_NO_CONTENT |
HTTP_RESET | int | constant · static | o.HTTP_RESET |
HTTP_PARTIAL | int | constant · static | o.HTTP_PARTIAL |
HTTP_MULT_CHOICE | int | constant · static | o.HTTP_MULT_CHOICE |
HTTP_MOVED_PERM | int | constant · static | o.HTTP_MOVED_PERM |
HTTP_MOVED_TEMP | int | constant · static | o.HTTP_MOVED_TEMP |
HTTP_SEE_OTHER | int | constant · static | o.HTTP_SEE_OTHER |
HTTP_NOT_MODIFIED | int | constant · static | o.HTTP_NOT_MODIFIED |
HTTP_USE_PROXY | int | constant · static | o.HTTP_USE_PROXY |
HTTP_BAD_REQUEST | int | constant · static | o.HTTP_BAD_REQUEST |
HTTP_UNAUTHORIZED | int | constant · static | o.HTTP_UNAUTHORIZED |
HTTP_PAYMENT_REQUIRED | int | constant · static | o.HTTP_PAYMENT_REQUIRED |
HTTP_FORBIDDEN | int | constant · static | o.HTTP_FORBIDDEN |
HTTP_NOT_FOUND | int | constant · static | o.HTTP_NOT_FOUND |
HTTP_BAD_METHOD | int | constant · static | o.HTTP_BAD_METHOD |
HTTP_NOT_ACCEPTABLE | int | constant · static | o.HTTP_NOT_ACCEPTABLE |
HTTP_PROXY_AUTH | int | constant · static | o.HTTP_PROXY_AUTH |
HTTP_CLIENT_TIMEOUT | int | constant · static | o.HTTP_CLIENT_TIMEOUT |
HTTP_CONFLICT | int | constant · static | o.HTTP_CONFLICT |
HTTP_GONE | int | constant · static | o.HTTP_GONE |
HTTP_LENGTH_REQUIRED | int | constant · static | o.HTTP_LENGTH_REQUIRED |
HTTP_PRECON_FAILED | int | constant · static | o.HTTP_PRECON_FAILED |
HTTP_ENTITY_TOO_LARGE | int | constant · static | o.HTTP_ENTITY_TOO_LARGE |
HTTP_REQ_TOO_LONG | int | constant · static | o.HTTP_REQ_TOO_LONG |
HTTP_UNSUPPORTED_TYPE | int | constant · static | o.HTTP_UNSUPPORTED_TYPE |
HTTP_SERVER_ERROR | int | constant · static | o.HTTP_SERVER_ERROR |
HTTP_INTERNAL_ERROR | int | constant · static | o.HTTP_INTERNAL_ERROR |
HTTP_NOT_IMPLEMENTED | int | constant · static | o.HTTP_NOT_IMPLEMENTED |
HTTP_BAD_GATEWAY | int | constant · static | o.HTTP_BAD_GATEWAY |
HTTP_UNAVAILABLE | int | constant · static | o.HTTP_UNAVAILABLE |
HTTP_GATEWAY_TIMEOUT | int | constant · static | o.HTTP_GATEWAY_TIMEOUT |
HTTP_VERSION | int | constant · static | o.HTTP_VERSION |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
disconnect | disconnect() | void disconnect() |
getErrorStream | getErrorStream() | InputStream getErrorStream() |
getFollowRedirects | getFollowRedirects() | static boolean getFollowRedirects() |
getInstanceFollowRedirects | getInstanceFollowRedirects() | boolean getInstanceFollowRedirects() |
getRequestMethod | getRequestMethod() | String getRequestMethod() |
getResponseCode | getResponseCode() | int getResponseCode() |
getResponseMessage | getResponseMessage() | String getResponseMessage() |
setAuthenticator | setAuthenticator(auth) | void setAuthenticator(Authenticator auth) |
setChunkedStreamingMode | setChunkedStreamingMode(chunklen) | void setChunkedStreamingMode(int chunklen) |
setFixedLengthStreamingMode | setFixedLengthStreamingMode(contentLength) | void setFixedLengthStreamingMode(long contentLength)void setFixedLengthStreamingMode(int contentLength) |
setFollowRedirects | setFollowRedirects(set) | static void setFollowRedirects(boolean set) |
setInstanceFollowRedirects | setInstanceFollowRedirects(followRedirects) | void setInstanceFollowRedirects(boolean followRedirects) |
setRequestMethod | setRequestMethod(method) | void setRequestMethod(String method) |
usingProxy | usingProxy() | boolean usingProxy() |
The methods and fields of URLConnection are inherited.
IDN#
class final · extends Object · java.net.IDN
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ALLOW_UNASSIGNED | int | constant · static | o.ALLOW_UNASSIGNED |
USE_STD3_ASCII_RULES | int | constant · static | o.USE_STD3_ASCII_RULES |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
toASCII | toASCII(input)toASCII([input,flag])toASCII([ :input = v, :flag = v ]) | static String toASCII(String input)static String toASCII(String input, int flag) |
toUnicode | toUnicode(input)toUnicode([input,flag])toUnicode([ :input = v, :flag = v ]) | static String toUnicode(String input)static String toUnicode(String input, int flag) |
The methods and fields of Object are inherited.
Inet4Address#
class final · extends InetAddress · java.net.Inet4Address
Methods
| Method | Ring call | Java overloads |
|---|---|---|
ofPosixLiteral | ofPosixLiteral(posixIPAddressLiteral) | static Inet4Address ofPosixLiteral(String posixIPAddressLiteral) |
The methods and fields of InetAddress are inherited.
Inet6Address#
class final · extends InetAddress · java.net.Inet6Address
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getScopedInterface | getScopedInterface() | NetworkInterface getScopedInterface() |
getScopeId | getScopeId() | int getScopeId() |
isIPv4CompatibleAddress | isIPv4CompatibleAddress() | boolean isIPv4CompatibleAddress() |
The methods and fields of InetAddress are inherited.
InetAddress#
class · extends Object · java.net.InetAddress
Implements: Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAddress | getAddress() | byte[] getAddress() |
getAllByName | getAllByName(host) | static InetAddress[] getAllByName(String host) |
getByAddress | getByAddress(addr)getByAddress([host,addr])getByAddress([ :host = v, :addr = v ]) | static InetAddress getByAddress(byte[] addr)static InetAddress getByAddress(String host, byte[] addr) |
getByName | getByName(host) | static InetAddress getByName(String host) |
getCanonicalHostName | getCanonicalHostName() | String getCanonicalHostName() |
getHostAddress | getHostAddress() | String getHostAddress() |
getHostName | getHostName() | String getHostName() |
getLocalHost | getLocalHost() | static InetAddress getLocalHost() |
getLoopbackAddress | getLoopbackAddress() | static InetAddress getLoopbackAddress() |
isAnyLocalAddress | isAnyLocalAddress() | boolean isAnyLocalAddress() |
isLinkLocalAddress | isLinkLocalAddress() | boolean isLinkLocalAddress() |
isLoopbackAddress | isLoopbackAddress() | boolean isLoopbackAddress() |
isMCGlobal | isMCGlobal() | boolean isMCGlobal() |
isMCLinkLocal | isMCLinkLocal() | boolean isMCLinkLocal() |
isMCNodeLocal | isMCNodeLocal() | boolean isMCNodeLocal() |
isMCOrgLocal | isMCOrgLocal() | boolean isMCOrgLocal() |
isMCSiteLocal | isMCSiteLocal() | boolean isMCSiteLocal() |
isMulticastAddress | isMulticastAddress() | boolean isMulticastAddress() |
isReachable | isReachable(timeout)isReachable([netif,ttl,timeout])isReachable([ :netif = v, :ttl = v, :timeout = v ]) | boolean isReachable(int timeout)boolean isReachable(NetworkInterface netif, int ttl, int timeout) |
isSiteLocalAddress | isSiteLocalAddress() | boolean isSiteLocalAddress() |
ofLiteral | ofLiteral(ipAddressLiteral) | static InetAddress ofLiteral(String ipAddressLiteral) |
The methods and fields of Object are inherited.
InetSocketAddress#
class · extends SocketAddress · java.net.InetSocketAddress
Constructors
new InetSocketAddress(int port) |
new InetSocketAddress(String hostname, int port) |
new InetSocketAddress(InetAddress addr, int port) |
Ring: new InetSocketAddress(args) uses the constructor with the fewest parameters (at least one); new InetSocketAddress makes the object with the constructor without parameters; the others: (new InetSocketAddress).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createUnresolved | createUnresolved(host,port) | static InetSocketAddress createUnresolved(String host, int port) |
getAddress | getAddress() | InetAddress getAddress() |
getHostName | getHostName() | String getHostName() |
getHostString | getHostString() | String getHostString() |
getPort | getPort() | int getPort() |
isUnresolved | isUnresolved() | boolean isUnresolved() |
The methods and fields of SocketAddress are inherited.
InterfaceAddress#
class final · extends Object · java.net.InterfaceAddress
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAddress | getAddress() | InetAddress getAddress() |
getBroadcast | getBroadcast() | InetAddress getBroadcast() |
getNetworkPrefixLength | getNetworkPrefixLength() | short getNetworkPrefixLength() |
The methods and fields of Object are inherited.
JarURLConnection#
abstract · extends URLConnection · java.net.JarURLConnection
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Attributes getAttributes() |
getCertificates | getCertificates() | Certificate[] getCertificates() |
getEntryName | getEntryName() | String getEntryName() |
getJarEntry | getJarEntry() | JarEntry getJarEntry() |
getJarFile | getJarFile() | JarFile getJarFile() |
getJarFileURL | getJarFileURL() | URL getJarFileURL() |
getMainAttributes | getMainAttributes() | Attributes getMainAttributes() |
getManifest | getManifest() | Manifest getManifest() |
The methods and fields of URLConnection are inherited.
MalformedURLException#
class · extends IOException · java.net.MalformedURLException
Constructors
new MalformedURLException() |
new MalformedURLException(String msg) |
Ring: new MalformedURLException(args) uses the constructor with the fewest parameters (at least one); new MalformedURLException makes the object with the constructor without parameters; the others: (new MalformedURLException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IOException are inherited.
MulticastSocket#
class · extends DatagramSocket · java.net.MulticastSocket
Constructors
new MulticastSocket() |
new MulticastSocket(int port) |
new MulticastSocket(SocketAddress bindaddr) |
Ring: new MulticastSocket(args) uses the constructor with the fewest parameters (at least one); new MulticastSocket makes the object with the constructor without parameters; the others: (new MulticastSocket).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getInterface | getInterface() | InetAddress getInterface() |
getLoopbackMode | getLoopbackMode() | boolean getLoopbackMode() |
getNetworkInterface | getNetworkInterface() | NetworkInterface getNetworkInterface() |
getTimeToLive | getTimeToLive() | int getTimeToLive() |
getTTL | getTTL() | byte getTTL() |
joinGroup | joinGroup(mcastaddr)joinGroup([mcastaddr,netIf])joinGroup([ :mcastaddr = v, :netIf = v ]) | void joinGroup(InetAddress mcastaddr)void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf) |
leaveGroup | leaveGroup(mcastaddr)leaveGroup([mcastaddr,netIf])leaveGroup([ :mcastaddr = v, :netIf = v ]) | void leaveGroup(InetAddress mcastaddr)void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf) |
send | send(p)send([p,ttl])send([ :p = v, :ttl = v ]) | void send(DatagramPacket p)void send(DatagramPacket p, byte ttl) |
setInterface | setInterface(inf) | void setInterface(InetAddress inf) |
setLoopbackMode | setLoopbackMode(disable) | void setLoopbackMode(boolean disable) |
setNetworkInterface | setNetworkInterface(netIf) | void setNetworkInterface(NetworkInterface netIf) |
setTimeToLive | setTimeToLive(ttl) | void setTimeToLive(int ttl) |
setTTL | setTTL(ttl) | void setTTL(byte ttl) |
The methods and fields of DatagramSocket are inherited.
NetPermission#
class final · extends BasicPermission · java.net.NetPermission
Constructors
new NetPermission(String name) |
new NetPermission(String name, String actions) |
Ring: new NetPermission(args) uses the constructor with the fewest parameters (at least one); new NetPermission makes the object with the constructor without parameters; the others: (new NetPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BasicPermission are inherited.
NetProxy#
class · extends Object · java.net.Proxy
Constructors
new NetProxy(Type type, SocketAddress sa) |
Ring: new NetProxy(args) uses the constructor with the fewest parameters (at least one); new NetProxy makes the object with the constructor without parameters; the others: (new NetProxy).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NO_PROXY | Proxy | constant · static | o.NO_PROXY |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
address | address() | SocketAddress address() |
type | type() | Type type() |
The methods and fields of Object are inherited.
NetworkInterface#
class final · extends Object · java.net.NetworkInterface
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getByIndex | getByIndex(index) | static NetworkInterface getByIndex(int index) |
getByInetAddress | getByInetAddress(addr) | static NetworkInterface getByInetAddress(InetAddress addr) |
getByName | getByName(name) | static NetworkInterface getByName(String name) |
getDisplayName | getDisplayName() | String getDisplayName() |
getHardwareAddress | getHardwareAddress() | byte[] getHardwareAddress() |
getIndex | getIndex() | int getIndex() |
getInetAddresses | getInetAddresses() | Enumeration getInetAddresses() |
getInterfaceAddresses | getInterfaceAddresses() | List getInterfaceAddresses() |
getMTU | getMTU() | int getMTU() |
getName | getName() | String getName() |
getNetworkInterfaces | getNetworkInterfaces() | static Enumeration getNetworkInterfaces() |
getParent | getParent() | NetworkInterface getParent() |
getSubInterfaces | getSubInterfaces() | Enumeration getSubInterfaces() |
inetAddresses | inetAddresses() | Stream inetAddresses() |
isLoopback | isLoopback() | boolean isLoopback() |
isPointToPoint | isPointToPoint() | boolean isPointToPoint() |
isUp | isUp() | boolean isUp() |
isVirtual | isVirtual() | boolean isVirtual() |
networkInterfaces | networkInterfaces() | static Stream networkInterfaces() |
subInterfaces | subInterfaces() | Stream subInterfaces() |
supportsMulticast | supportsMulticast() | boolean supportsMulticast() |
The methods and fields of Object are inherited.
NoRouteToHostException#
class · extends SocketException · java.net.NoRouteToHostException
Constructors
new NoRouteToHostException() |
new NoRouteToHostException(String msg) |
Ring: new NoRouteToHostException(args) uses the constructor with the fewest parameters (at least one); new NoRouteToHostException makes the object with the constructor without parameters; the others: (new NoRouteToHostException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of SocketException are inherited.
PasswordAuthentication#
class final · extends Object · java.net.PasswordAuthentication
Constructors
new PasswordAuthentication(String userName, char[] password) |
Ring: new PasswordAuthentication(args) uses the constructor with the fewest parameters (at least one); new PasswordAuthentication makes the object with the constructor without parameters; the others: (new PasswordAuthentication).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPassword | getPassword() | char[] getPassword() |
getUserName | getUserName() | String getUserName() |
The methods and fields of Object are inherited.
PortUnreachableException#
class · extends SocketException · java.net.PortUnreachableException
Constructors
new PortUnreachableException() |
new PortUnreachableException(String msg) |
Ring: new PortUnreachableException(args) uses the constructor with the fewest parameters (at least one); new PortUnreachableException makes the object with the constructor without parameters; the others: (new PortUnreachableException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of SocketException are inherited.
ProtocolException#
class · extends IOException · java.net.ProtocolException
Constructors
new ProtocolException() |
new ProtocolException(String message) |
Ring: new ProtocolException(args) uses the constructor with the fewest parameters (at least one); new ProtocolException makes the object with the constructor without parameters; the others: (new ProtocolException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IOException are inherited.
ProtocolFamily#
interface · java.net.ProtocolFamily
Methods
| Method | Ring call | Java overloads |
|---|---|---|
name | name() | String name() |
ProxySelector#
abstract · extends Object · java.net.ProxySelector
Methods
| Method | Ring call | Java overloads |
|---|---|---|
connectFailed | connectFailed(uri,sa,ioe) | void connectFailed(URI uri, SocketAddress sa, IOException ioe) |
getDefault | getDefault() | static ProxySelector getDefault() |
of | of(proxyAddress) | static ProxySelector of(InetSocketAddress proxyAddress) |
select | select(uri) | List select(URI uri) |
setDefault | setDefault(ps) | static void setDefault(ProxySelector ps) |
The methods and fields of Object are inherited.
ProxyType#
enum · extends Enum · java.net.Proxy$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DIRECT | Type | constant · static | o.DIRECT |
HTTP | Type | constant · static | o.HTTP |
SOCKS | Type | constant · static | o.SOCKS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Type valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Type[] values() |
The methods and fields of Enum are inherited.
ResponseCache#
abstract · extends Object · java.net.ResponseCache
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(uri,rqstMethod,rqstHeaders) | CacheResponse get(URI uri, String rqstMethod, Map rqstHeaders) |
@put | @put(uri,conn) | CacheRequest put(URI uri, URLConnection conn) |
getDefault | getDefault() | static ResponseCache getDefault() |
setDefault | setDefault(responseCache) | static void setDefault(ResponseCache responseCache) |
The methods and fields of Object are inherited.
SecureCacheResponse#
abstract · extends CacheResponse · java.net.SecureCacheResponse
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCipherSuite | getCipherSuite() | String getCipherSuite() |
getLocalCertificateChain | getLocalCertificateChain() | List getLocalCertificateChain() |
getLocalPrincipal | getLocalPrincipal() | Principal getLocalPrincipal() |
getPeerPrincipal | getPeerPrincipal() | Principal getPeerPrincipal() |
getServerCertificateChain | getServerCertificateChain() | List getServerCertificateChain() |
getSSLSession | getSSLSession() | Optional getSSLSession() |
The methods and fields of CacheResponse are inherited.
ServerSocket#
class · extends Object · java.net.ServerSocket
Implements: Closeable
Constructors
new ServerSocket() |
new ServerSocket(int port) |
new ServerSocket(int port, int backlog) |
new ServerSocket(int port, int backlog, InetAddress bindAddr) |
Ring: new ServerSocket(args) uses the constructor with the fewest parameters (at least one); new ServerSocket makes the object with the constructor without parameters; the others: (new ServerSocket).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept() | Socket accept() |
bind | bind(endpoint)bind([endpoint,backlog])bind([ :endpoint = v, :backlog = v ]) | void bind(SocketAddress endpoint)void bind(SocketAddress endpoint, int backlog) |
close | close() | void close() |
getChannel | getChannel() | ServerSocketChannel getChannel() |
getInetAddress | getInetAddress() | InetAddress getInetAddress() |
getLocalPort | getLocalPort() | int getLocalPort() |
getLocalSocketAddress | getLocalSocketAddress() | SocketAddress getLocalSocketAddress() |
getOption | getOption(name) | Object getOption(SocketOption name) |
getReceiveBufferSize | getReceiveBufferSize() | int getReceiveBufferSize() |
getReuseAddress | getReuseAddress() | boolean getReuseAddress() |
getSoTimeout | getSoTimeout() | int getSoTimeout() |
isBound | isBound() | boolean isBound() |
isClosed | isClosed() | boolean isClosed() |
setOption | setOption(name,value) | ServerSocket setOption(SocketOption name, Object value) |
setPerformancePreferences | setPerformancePreferences(connectionTime,latency,bandwidth) | void setPerformancePreferences(int connectionTime, int latency, int bandwidth) |
setReceiveBufferSize | setReceiveBufferSize(size) | void setReceiveBufferSize(int size) |
setReuseAddress | setReuseAddress(on) | void setReuseAddress(boolean on) |
setSocketFactory | setSocketFactory(fac) | static void setSocketFactory(SocketImplFactory fac) |
setSoTimeout | setSoTimeout(timeout) | void setSoTimeout(int timeout) |
supportedOptions | supportedOptions() | Set supportedOptions() |
The methods and fields of Object are inherited.
Socket#
class · extends Object · java.net.Socket
Implements: Closeable
Constructors
new Socket() |
new Socket(Proxy proxy) |
new Socket(InetAddress address, int port) |
new Socket(String host, int port) |
new Socket(InetAddress host, int port, boolean stream) |
new Socket(String host, int port, boolean stream) |
new Socket(String host, int port, InetAddress localAddr, int localPort) |
new Socket(InetAddress address, int port, InetAddress localAddr, int localPort) |
Ring: new Socket(args) uses the constructor with the fewest parameters (at least one); new Socket makes the object with the constructor without parameters; the others: (new Socket).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
bind | bind(bindpoint) | void bind(SocketAddress bindpoint) |
close | close() | void close() |
connect | connect(endpoint)connect([endpoint,timeout])connect([ :endpoint = v, :timeout = v ]) | void connect(SocketAddress endpoint)void connect(SocketAddress endpoint, int timeout) |
getChannel | getChannel() | SocketChannel getChannel() |
getInetAddress | getInetAddress() | InetAddress getInetAddress() |
getInputStream | getInputStream() | InputStream getInputStream() |
getKeepAlive | getKeepAlive() | boolean getKeepAlive() |
getLocalAddress | getLocalAddress() | InetAddress getLocalAddress() |
getLocalPort | getLocalPort() | int getLocalPort() |
getLocalSocketAddress | getLocalSocketAddress() | SocketAddress getLocalSocketAddress() |
getOOBInline | getOOBInline() | boolean getOOBInline() |
getOption | getOption(name) | Object getOption(SocketOption name) |
getOutputStream | getOutputStream() | OutputStream getOutputStream() |
getPort | getPort() | int getPort() |
getReceiveBufferSize | getReceiveBufferSize() | int getReceiveBufferSize() |
getRemoteSocketAddress | getRemoteSocketAddress() | SocketAddress getRemoteSocketAddress() |
getReuseAddress | getReuseAddress() | boolean getReuseAddress() |
getSendBufferSize | getSendBufferSize() | int getSendBufferSize() |
getSoLinger | getSoLinger() | int getSoLinger() |
getSoTimeout | getSoTimeout() | int getSoTimeout() |
getTcpNoDelay | getTcpNoDelay() | boolean getTcpNoDelay() |
getTrafficClass | getTrafficClass() | int getTrafficClass() |
isBound | isBound() | boolean isBound() |
isClosed | isClosed() | boolean isClosed() |
isConnected | isConnected() | boolean isConnected() |
isInputShutdown | isInputShutdown() | boolean isInputShutdown() |
isOutputShutdown | isOutputShutdown() | boolean isOutputShutdown() |
sendUrgentData | sendUrgentData(data) | void sendUrgentData(int data) |
setKeepAlive | setKeepAlive(on) | void setKeepAlive(boolean on) |
setOOBInline | setOOBInline(on) | void setOOBInline(boolean on) |
setOption | setOption(name,value) | Socket setOption(SocketOption name, Object value) |
setPerformancePreferences | setPerformancePreferences(connectionTime,latency,bandwidth) | void setPerformancePreferences(int connectionTime, int latency, int bandwidth) |
setReceiveBufferSize | setReceiveBufferSize(size) | void setReceiveBufferSize(int size) |
setReuseAddress | setReuseAddress(on) | void setReuseAddress(boolean on) |
setSendBufferSize | setSendBufferSize(size) | void setSendBufferSize(int size) |
setSocketImplFactory | setSocketImplFactory(fac) | static void setSocketImplFactory(SocketImplFactory fac) |
setSoLinger | setSoLinger(on,linger) | void setSoLinger(boolean on, int linger) |
setSoTimeout | setSoTimeout(timeout) | void setSoTimeout(int timeout) |
setTcpNoDelay | setTcpNoDelay(on) | void setTcpNoDelay(boolean on) |
setTrafficClass | setTrafficClass(tc) | void setTrafficClass(int tc) |
shutdownInput | shutdownInput() | void shutdownInput() |
shutdownOutput | shutdownOutput() | void shutdownOutput() |
supportedOptions | supportedOptions() | Set supportedOptions() |
The methods and fields of Object are inherited.
SocketAddress#
abstract · extends Object · java.net.SocketAddress
Implements: Serializable
The methods and fields of Object are inherited.
SocketException#
class · extends IOException · java.net.SocketException
Constructors
new SocketException() |
new SocketException(Throwable cause) |
new SocketException(String msg) |
new SocketException(String msg, Throwable cause) |
Ring: new SocketException(args) uses the constructor with the fewest parameters (at least one); new SocketException makes the object with the constructor without parameters; the others: (new SocketException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IOException are inherited.
SocketImpl#
abstract · extends Object · java.net.SocketImpl
Implements: SocketOptions
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TCP_NODELAY | int | constant · static | o.TCP_NODELAY |
SO_BINDADDR | int | constant · static | o.SO_BINDADDR |
SO_REUSEADDR | int | constant · static | o.SO_REUSEADDR |
SO_REUSEPORT | int | constant · static | o.SO_REUSEPORT |
SO_BROADCAST | int | constant · static | o.SO_BROADCAST |
IP_MULTICAST_IF | int | constant · static | o.IP_MULTICAST_IF |
IP_MULTICAST_IF2 | int | constant · static | o.IP_MULTICAST_IF2 |
IP_MULTICAST_LOOP | int | constant · static | o.IP_MULTICAST_LOOP |
IP_TOS | int | constant · static | o.IP_TOS |
SO_LINGER | int | constant · static | o.SO_LINGER |
SO_TIMEOUT | int | constant · static | o.SO_TIMEOUT |
SO_SNDBUF | int | constant · static | o.SO_SNDBUF |
SO_RCVBUF | int | constant · static | o.SO_RCVBUF |
SO_KEEPALIVE | int | constant · static | o.SO_KEEPALIVE |
SO_OOBINLINE | int | constant · static | o.SO_OOBINLINE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getOption | getOption(optID) | Object getOption(int optID) |
setOption | setOption(optID,value) | void setOption(int optID, Object value) |
The methods and fields of Object are inherited.
SocketImplFactory#
interface · java.net.SocketImplFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createSocketImpl | createSocketImpl() | SocketImpl createSocketImpl() |
SocketOption#
interface · java.net.SocketOption
Methods
| Method | Ring call | Java overloads |
|---|---|---|
name | name() | String name() |
type | type() | Class type() |
SocketOptions#
interface · java.net.SocketOptions
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TCP_NODELAY | int | constant · static | o.TCP_NODELAY |
SO_BINDADDR | int | constant · static | o.SO_BINDADDR |
SO_REUSEADDR | int | constant · static | o.SO_REUSEADDR |
SO_REUSEPORT | int | constant · static | o.SO_REUSEPORT |
SO_BROADCAST | int | constant · static | o.SO_BROADCAST |
IP_MULTICAST_IF | int | constant · static | o.IP_MULTICAST_IF |
IP_MULTICAST_IF2 | int | constant · static | o.IP_MULTICAST_IF2 |
IP_MULTICAST_LOOP | int | constant · static | o.IP_MULTICAST_LOOP |
IP_TOS | int | constant · static | o.IP_TOS |
SO_LINGER | int | constant · static | o.SO_LINGER |
SO_TIMEOUT | int | constant · static | o.SO_TIMEOUT |
SO_SNDBUF | int | constant · static | o.SO_SNDBUF |
SO_RCVBUF | int | constant · static | o.SO_RCVBUF |
SO_KEEPALIVE | int | constant · static | o.SO_KEEPALIVE |
SO_OOBINLINE | int | constant · static | o.SO_OOBINLINE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getOption | getOption(optID) | Object getOption(int optID) |
setOption | setOption(optID,value) | void setOption(int optID, Object value) |
SocketPermission#
class final · extends Permission · java.net.SocketPermission
Implements: Serializable
Constructors
new SocketPermission(String host, String action) |
Ring: new SocketPermission(args) uses the constructor with the fewest parameters (at least one); new SocketPermission makes the object with the constructor without parameters; the others: (new SocketPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Permission are inherited.
SocketTimeoutException#
class · extends InterruptedIOException · java.net.SocketTimeoutException
Constructors
new SocketTimeoutException() |
new SocketTimeoutException(String msg) |
Ring: new SocketTimeoutException(args) uses the constructor with the fewest parameters (at least one); new SocketTimeoutException makes the object with the constructor without parameters; the others: (new SocketTimeoutException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of InterruptedIOException are inherited.
StandardProtocolFamily#
enum · extends Enum · java.net.StandardProtocolFamily
Implements: ProtocolFamily
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INET | StandardProtocolFamily | constant · static | o.INET |
INET6 | StandardProtocolFamily | constant · static | o.INET6 |
UNIX | StandardProtocolFamily | constant · static | o.UNIX |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static StandardProtocolFamily valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static StandardProtocolFamily[] values() |
The methods and fields of Enum are inherited.
StandardSocketOptions#
class final · extends Object · java.net.StandardSocketOptions
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SO_BROADCAST | SocketOption | constant · static | o.SO_BROADCAST |
SO_KEEPALIVE | SocketOption | constant · static | o.SO_KEEPALIVE |
SO_SNDBUF | SocketOption | constant · static | o.SO_SNDBUF |
SO_RCVBUF | SocketOption | constant · static | o.SO_RCVBUF |
SO_REUSEADDR | SocketOption | constant · static | o.SO_REUSEADDR |
SO_REUSEPORT | SocketOption | constant · static | o.SO_REUSEPORT |
SO_LINGER | SocketOption | constant · static | o.SO_LINGER |
IP_TOS | SocketOption | constant · static | o.IP_TOS |
IP_MULTICAST_IF | SocketOption | constant · static | o.IP_MULTICAST_IF |
IP_MULTICAST_TTL | SocketOption | constant · static | o.IP_MULTICAST_TTL |
IP_MULTICAST_LOOP | SocketOption | constant · static | o.IP_MULTICAST_LOOP |
TCP_NODELAY | SocketOption | constant · static | o.TCP_NODELAY |
The methods and fields of Object are inherited.
UnixDomainSocketAddress#
class final · extends SocketAddress · java.net.UnixDomainSocketAddress
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPath | getPath() | Path getPath() |
of | of(path) | static UnixDomainSocketAddress of(Path path)static UnixDomainSocketAddress of(String pathname) |
The methods and fields of SocketAddress are inherited.
UnknownHostException#
class · extends IOException · java.net.UnknownHostException
Constructors
new UnknownHostException() |
new UnknownHostException(String message) |
Ring: new UnknownHostException(args) uses the constructor with the fewest parameters (at least one); new UnknownHostException makes the object with the constructor without parameters; the others: (new UnknownHostException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IOException are inherited.
UnknownServiceException#
class · extends IOException · java.net.UnknownServiceException
Constructors
new UnknownServiceException() |
new UnknownServiceException(String msg) |
Ring: new UnknownServiceException(args) uses the constructor with the fewest parameters (at least one); new UnknownServiceException makes the object with the constructor without parameters; the others: (new UnknownServiceException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IOException are inherited.
URI#
class final · extends Object · java.net.URI
Implements: Comparable, Serializable
Constructors
new URI(String str) |
new URI(String scheme, String ssp, String fragment) |
new URI(String scheme, String host, String path, String fragment) |
new URI(String scheme, String authority, String path, String query, String fragment) |
new URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) |
Ring: new URI(args) uses the constructor with the fewest parameters (at least one); new URI makes the object with the constructor without parameters; the others: (new URI).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
compareTo | compareTo(that) | int compareTo(URI that) |
create | create(str) | static URI create(String str) |
getAuthority | getAuthority() | String getAuthority() |
getFragment | getFragment() | String getFragment() |
getHost | getHost() | String getHost() |
getPath | getPath() | String getPath() |
getPort | getPort() | int getPort() |
getQuery | getQuery() | String getQuery() |
getRawAuthority | getRawAuthority() | String getRawAuthority() |
getRawFragment | getRawFragment() | String getRawFragment() |
getRawPath | getRawPath() | String getRawPath() |
getRawQuery | getRawQuery() | String getRawQuery() |
getRawSchemeSpecificPart | getRawSchemeSpecificPart() | String getRawSchemeSpecificPart() |
getRawUserInfo | getRawUserInfo() | String getRawUserInfo() |
getScheme | getScheme() | String getScheme() |
getSchemeSpecificPart | getSchemeSpecificPart() | String getSchemeSpecificPart() |
getUserInfo | getUserInfo() | String getUserInfo() |
isAbsolute | isAbsolute() | boolean isAbsolute() |
isOpaque | isOpaque() | boolean isOpaque() |
normalize | normalize() | URI normalize() |
parseServerAuthority | parseServerAuthority() | URI parseServerAuthority() |
relativize | relativize(uri) | URI relativize(URI uri) |
resolve | resolve(str) | URI resolve(String str)URI resolve(URI uri) |
toASCIIString | toASCIIString() | String toASCIIString() |
toURL | toURL() | URL toURL() |
The methods and fields of Object are inherited.
URISyntaxException#
class · extends Exception · java.net.URISyntaxException
Constructors
new URISyntaxException(String input, String reason) |
new URISyntaxException(String input, String reason, int index) |
Ring: new URISyntaxException(args) uses the constructor with the fewest parameters (at least one); new URISyntaxException makes the object with the constructor without parameters; the others: (new URISyntaxException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getIndex | getIndex() | int getIndex() |
getInput | getInput() | String getInput() |
getReason | getReason() | String getReason() |
The methods and fields of Exception are inherited.
URL#
class final · extends Object · java.net.URL
Implements: Serializable
Constructors
new URL(String spec) |
new URL(URL context, String spec) |
new URL(URL context, String spec, URLStreamHandler handler) |
new URL(String protocol, String host, String file) |
new URL(String protocol, String host, int port, String file) |
new URL(String protocol, String host, int port, String file, URLStreamHandler handler) |
Ring: new URL(args) uses the constructor with the fewest parameters (at least one); new URL makes the object with the constructor without parameters; the others: (new URL).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getContent | @getContent(classes) | Object getContent(Class[] classes) |
@openConnection | @openConnection(proxy) | URLConnection openConnection(Proxy proxy) |
getAuthority | getAuthority() | String getAuthority() |
getContent | getContent() | Object getContent() |
getDefaultPort | getDefaultPort() | int getDefaultPort() |
getFile | getFile() | String getFile() |
getHost | getHost() | String getHost() |
getPath | getPath() | String getPath() |
getPort | getPort() | int getPort() |
getProtocol | getProtocol() | String getProtocol() |
getQuery | getQuery() | String getQuery() |
getRef | getRef() | String getRef() |
getUserInfo | getUserInfo() | String getUserInfo() |
of | of(uri,handler) | static URL of(URI uri, URLStreamHandler handler) |
openConnection | openConnection() | URLConnection openConnection() |
openStream | openStream() | InputStream openStream() |
sameFile | sameFile(other) | boolean sameFile(URL other) |
setURLStreamHandlerFactory | setURLStreamHandlerFactory(fac) | static void setURLStreamHandlerFactory(URLStreamHandlerFactory fac) |
toExternalForm | toExternalForm() | String toExternalForm() |
toURI | toURI() | URI toURI() |
The methods and fields of Object are inherited.
URLClassLoader#
class · extends SecureClassLoader · java.net.URLClassLoader
Implements: Closeable
Constructors
new URLClassLoader(URL[] urls) |
new URLClassLoader(URL[] urls, ClassLoader parent) |
new URLClassLoader(String name, URL[] urls, ClassLoader parent) |
new URLClassLoader(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) |
new URLClassLoader(String name, URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) |
Ring: new URLClassLoader(args) uses the constructor with the fewest parameters (at least one); new URLClassLoader makes the object with the constructor without parameters; the others: (new URLClassLoader).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
findResource | findResource(name) | URL findResource(String name) |
findResources | findResources(name) | Enumeration findResources(String name) |
getURLs | getURLs() | URL[] getURLs() |
newInstance | newInstance(urls)newInstance([urls,parent])newInstance([ :urls = v, :parent = v ]) | static URLClassLoader newInstance(URL[] urls)static URLClassLoader newInstance(URL[] urls, ClassLoader parent) |
The methods and fields of SecureClassLoader are inherited.
URLConnection#
abstract · extends Object · java.net.URLConnection
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getContent | @getContent(classes) | Object getContent(Class[] classes) |
@getDefaultUseCaches | @getDefaultUseCaches(protocol) | static boolean getDefaultUseCaches(String protocol) |
addRequestProperty | addRequestProperty(key,value) | void addRequestProperty(String key, String value) |
connect | connect() | void connect() |
getAllowUserInteraction | getAllowUserInteraction() | boolean getAllowUserInteraction() |
getConnectTimeout | getConnectTimeout() | int getConnectTimeout() |
getContent | getContent() | Object getContent() |
getContentEncoding | getContentEncoding() | String getContentEncoding() |
getContentLength | getContentLength() | int getContentLength() |
getContentLengthLong | getContentLengthLong() | long getContentLengthLong() |
getContentType | getContentType() | String getContentType() |
getDate | getDate() | long getDate() |
getDefaultAllowUserInteraction | getDefaultAllowUserInteraction() | static boolean getDefaultAllowUserInteraction() |
getDefaultRequestProperty | getDefaultRequestProperty(key) | static String getDefaultRequestProperty(String key) |
getDefaultUseCaches | getDefaultUseCaches() | boolean getDefaultUseCaches() |
getDoInput | getDoInput() | boolean getDoInput() |
getDoOutput | getDoOutput() | boolean getDoOutput() |
getExpiration | getExpiration() | long getExpiration() |
getFileNameMap | getFileNameMap() | static FileNameMap getFileNameMap() |
getHeaderField | getHeaderField(n) | String getHeaderField(int n)String getHeaderField(String name) |
getHeaderFieldDate | getHeaderFieldDate(name,defaultValue) | long getHeaderFieldDate(String name, long defaultValue) |
getHeaderFieldInt | getHeaderFieldInt(name,defaultValue) | int getHeaderFieldInt(String name, int defaultValue) |
getHeaderFieldKey | getHeaderFieldKey(n) | String getHeaderFieldKey(int n) |
getHeaderFieldLong | getHeaderFieldLong(name,defaultValue) | long getHeaderFieldLong(String name, long defaultValue) |
getHeaderFields | getHeaderFields() | Map getHeaderFields() |
getIfModifiedSince | getIfModifiedSince() | long getIfModifiedSince() |
getInputStream | getInputStream() | InputStream getInputStream() |
getLastModified | getLastModified() | long getLastModified() |
getOutputStream | getOutputStream() | OutputStream getOutputStream() |
getPermission | getPermission() | Permission getPermission() |
getReadTimeout | getReadTimeout() | int getReadTimeout() |
getRequestProperties | getRequestProperties() | Map getRequestProperties() |
getRequestProperty | getRequestProperty(key) | String getRequestProperty(String key) |
getURL | getURL() | URL getURL() |
getUseCaches | getUseCaches() | boolean getUseCaches() |
guessContentTypeFromName | guessContentTypeFromName(fname) | static String guessContentTypeFromName(String fname) |
guessContentTypeFromStream | guessContentTypeFromStream(is) | static String guessContentTypeFromStream(InputStream is) |
setAllowUserInteraction | setAllowUserInteraction(allowuserinteraction) | void setAllowUserInteraction(boolean allowuserinteraction) |
setConnectTimeout | setConnectTimeout(timeout) | void setConnectTimeout(int timeout) |
setContentHandlerFactory | setContentHandlerFactory(fac) | static void setContentHandlerFactory(ContentHandlerFactory fac) |
setDefaultAllowUserInteraction | setDefaultAllowUserInteraction(defaultallowuserinteraction) | static void setDefaultAllowUserInteraction(boolean defaultallowuserinteraction) |
setDefaultRequestProperty | setDefaultRequestProperty(key,value) | static void setDefaultRequestProperty(String key, String value) |
setDefaultUseCaches | setDefaultUseCaches(defaultusecaches)setDefaultUseCaches([protocol,defaultVal])setDefaultUseCaches([ :protocol = v, :defaultVal = v ]) | void setDefaultUseCaches(boolean defaultusecaches)static void setDefaultUseCaches(String protocol, boolean defaultVal) |
setDoInput | setDoInput(doinput) | void setDoInput(boolean doinput) |
setDoOutput | setDoOutput(dooutput) | void setDoOutput(boolean dooutput) |
setFileNameMap | setFileNameMap(map) | static void setFileNameMap(FileNameMap map) |
setIfModifiedSince | setIfModifiedSince(ifmodifiedsince) | void setIfModifiedSince(long ifmodifiedsince) |
setReadTimeout | setReadTimeout(timeout) | void setReadTimeout(int timeout) |
setRequestProperty | setRequestProperty(key,value) | void setRequestProperty(String key, String value) |
setUseCaches | setUseCaches(usecaches) | void setUseCaches(boolean usecaches) |
The methods and fields of Object are inherited.
URLDecoder#
class final · extends Object · java.net.URLDecoder
Methods
| Method | Ring call | Java overloads |
|---|---|---|
decode | decode(s)decode([s,charset])decode([ :s = v, :charset = v ]) | static String decode(String s)static String decode(String s, Charset charset)static String decode(String s, String enc) |
The methods and fields of Object are inherited.
URLEncoder#
class final · extends Object · java.net.URLEncoder
Methods
| Method | Ring call | Java overloads |
|---|---|---|
encode | encode(s)encode([s,charset])encode([ :s = v, :charset = v ]) | static String encode(String s)static String encode(String s, Charset charset)static String encode(String s, String enc) |
The methods and fields of Object are inherited.
URLPermission#
class final · extends Permission · java.net.URLPermission
Constructors
new URLPermission(String url) |
new URLPermission(String url, String actions) |
Ring: new URLPermission(args) uses the constructor with the fewest parameters (at least one); new URLPermission makes the object with the constructor without parameters; the others: (new URLPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Permission are inherited.
URLStreamHandler#
abstract · extends Object · java.net.URLStreamHandler
The methods and fields of Object are inherited.
URLStreamHandlerFactory#
interface · java.net.URLStreamHandlerFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createURLStreamHandler | createURLStreamHandler(protocol) | URLStreamHandler createURLStreamHandler(String protocol) |