A B C E F G H I J M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractClientHandler - Class in io.github.astrapi69.net.socket
-
The class
AbstractClientHandler
. - AbstractClientHandler(Socket) - Constructor for class io.github.astrapi69.net.socket.AbstractClientHandler
-
Instantiates a new
AbstractClientHandler
- address() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
-
Address.
- available(int) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Checks if the given port at localhost is available.
- available(String, int) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Checks if the given port at the given host is available.
B
- BaseProxySelector - Class in io.github.astrapi69.net.proxy
-
The class
BaseProxySelector
holds a map with proxy addresses. - BaseProxySelector(ProxySelector, Map<SocketAddress, ProxyDecorator>) - Constructor for class io.github.astrapi69.net.proxy.BaseProxySelector
-
Instantiates a new
BaseProxySelector
.
C
- ChatRoom - Class in io.github.astrapi69.net.chat
-
The class
ChatRoom
. - ChatRoom() - Constructor for class io.github.astrapi69.net.chat.ChatRoom
- ChatUser - Interface in io.github.astrapi69.net.chat
-
The interface
ChatUser
. - close(Socket) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Close the given
Socket
. - closeClientSocket(Socket) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Closes the given client socket.
- closeServerSocket(ServerSocket) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Closes the given ServerSocket.
- connectFailed(URI, SocketAddress, IOException) - Method in class io.github.astrapi69.net.proxy.BaseProxySelector
E
- EAR - io.github.astrapi69.net.url.Protocol
-
The ear protocol.
- equals(Object) - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
F
- failed() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
-
Failed.
- FILE - io.github.astrapi69.net.url.Protocol
-
The jar protocol.
- FTP - io.github.astrapi69.net.url.Protocol
-
The ftp protocol.
- FTP_NON_PROXY_HOSTS - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the ftp non proxy hosts.
- FTP_PROXY_HOST - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the ftp proxy host.
- FTP_PROXY_PORT - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the ftp proxy port.
G
- getAllClients(String) - Static method in class io.github.astrapi69.net.IPResolver
-
Gets all the clients from the given net mask
- getFailedCount() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
-
Gets the failed count.
- getFilename(URL) - Static method in class io.github.astrapi69.net.url.URLExtensions
-
Gets the filename from the given url object.
- getIP(InetAddress) - Static method in class io.github.astrapi69.net.IPResolver
-
Gets the ip address from the given InetAddress object as a String.
- getIPAsByte(InetAddress) - Static method in class io.github.astrapi69.net.IPResolver
-
Gets the ip address as a byte array.
- getLocalIP() - Static method in class io.github.astrapi69.net.IPResolver
-
Gets the local ip address as a String.
- getLocalIPAsByte() - Static method in class io.github.astrapi69.net.IPResolver
-
Gets the local ip address as a byte array.
- getLocalIPFromServerSocket(int, int) - Static method in class io.github.astrapi69.net.IPResolver
-
Gets the InetAddress object from the local host from a ServerSocket object.
- getLocalIPFromServerSocketAsString() - Static method in class io.github.astrapi69.net.IPResolver
-
Gets the ip address from the local host as String.
- getPasswordAuthentication() - Method in class io.github.astrapi69.net.proxy.ProxyAuthenticator
- getProxy() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
-
Gets the proxy.
H
- hashCode() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
- HTTP - io.github.astrapi69.net.url.Protocol
-
The http protocol.
- HTTP_NON_PROXY_HOSTS - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the http non proxy hosts.
- HTTP_PROXY_HOST - io.github.astrapi69.net.ProxyPropertyKey
-
The http proxy host.
- HTTP_PROXY_PORT - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the http proxy port.
- HTTPS - io.github.astrapi69.net.url.Protocol
-
The https protocol.
I
- io.github.astrapi69.net - package io.github.astrapi69.net
- io.github.astrapi69.net.chat - package io.github.astrapi69.net.chat
- io.github.astrapi69.net.proxy - package io.github.astrapi69.net.proxy
- io.github.astrapi69.net.socket - package io.github.astrapi69.net.socket
- io.github.astrapi69.net.url - package io.github.astrapi69.net.url
- IPResolver - Class in io.github.astrapi69.net
-
Utility class for getting the ip from hosts.
- IPResolver() - Constructor for class io.github.astrapi69.net.IPResolver
- isEar(URL) - Static method in class io.github.astrapi69.net.url.URLExtensions
-
Checks if is ear.
- isJar(URL) - Static method in class io.github.astrapi69.net.url.URLExtensions
-
Checks if is jar.
- isWar(URL) - Static method in class io.github.astrapi69.net.url.URLExtensions
-
Checks if is war.
J
M
N
- newClientHandler(Socket) - Method in class io.github.astrapi69.net.socket.SimpleSocketServer
-
Factory method for creating the new
AbstractClientHandler
for handling requests. - NEWS - io.github.astrapi69.net.url.Protocol
-
The jar protocol.
- newSocket(String, int) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Factory method for a socket.
- NNTP - io.github.astrapi69.net.url.Protocol
-
The nntp protocol.
P
- process(Object) - Method in class io.github.astrapi69.net.socket.AbstractClientHandler
-
Process the given object.
- Protocol - Enum in io.github.astrapi69.net.url
-
The enum
Protocol
represents protocols from an url. - ProxyAuthenticator - Class in io.github.astrapi69.net.proxy
-
The class
ProxyAuthenticator
. - ProxyAuthenticator(String, String) - Constructor for class io.github.astrapi69.net.proxy.ProxyAuthenticator
-
Instantiates a new proxy authenticator.
- ProxyDecorator - Class in io.github.astrapi69.net.proxy
-
The class
ProxyDecorator
decorates a
object.Proxy
- ProxyDecorator(Proxy.Type, InetSocketAddress) - Constructor for class io.github.astrapi69.net.proxy.ProxyDecorator
-
Instantiates a new
ProxyDecorator
object. - ProxyPropertyKey - Enum in io.github.astrapi69.net
-
The enum
ProxyPropertyKey
holds system property keys for proxies.
R
- readObject(int) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Reads an object from the given port.
- readObject(String, int) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Reads an object from the given socket InetAddress.
- readObject(InetAddress, int) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Reads an object from the given socket InetAddress.
- readObject(Socket) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Reads an object from the given socket object.
- resolveIP(InetAddress) - Static method in class io.github.astrapi69.net.IPResolver
-
Resolves the ip address from the given InetAddress object.
- run() - Method in class io.github.astrapi69.net.socket.AbstractClientHandler
- run() - Method in class io.github.astrapi69.net.socket.SimpleSocketServer
S
- select(URI) - Method in class io.github.astrapi69.net.proxy.BaseProxySelector
- SimpleSocketServer - Class in io.github.astrapi69.net.socket
-
The class
SimpleSocketServer
. - SimpleSocketServer(int) - Constructor for class io.github.astrapi69.net.socket.SimpleSocketServer
- SocketExtensions - Class in io.github.astrapi69.net.socket
-
Helper class for handling Sockets.
- SocketExtensions() - Constructor for class io.github.astrapi69.net.socket.SocketExtensions
- SOCKS_PROXY_HOST - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the socks proxy host.
- SOCKS_PROXY_PORT - io.github.astrapi69.net.ProxyPropertyKey
-
The key for the socks proxy port.
T
- toString() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
- type() - Method in class io.github.astrapi69.net.proxy.ProxyDecorator
-
Type.
U
- URLExtensions - Class in io.github.astrapi69.net.url
-
The class URLExtensions provides utility methods for
URL
. - URLExtensions() - Constructor for class io.github.astrapi69.net.url.URLExtensions
- URN - io.github.astrapi69.net.url.Protocol
-
The urn protocol.
V
- valueOf(String) - Static method in enum io.github.astrapi69.net.ProxyPropertyKey
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.astrapi69.net.url.Protocol
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.astrapi69.net.ProxyPropertyKey
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.astrapi69.net.url.Protocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WAR - io.github.astrapi69.net.url.Protocol
-
The war protocol.
- writeObject(String, int, Object) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Writes the given Object.
- writeObject(InetAddress, int, Object) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Writes the given Object to the given InetAddress who listen to the given port.
- writeObject(Socket, int, Object) - Static method in class io.github.astrapi69.net.socket.SocketExtensions
-
Writes the given Object to the given Socket who listen to the given port.
All Classes All Packages