All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- DEFAULT_HTTP_PROXY_PORT.
Static variable in class COM.webconcepts.net.HttpProxyServer
-
- fetch(URL).
Method in class COM.webconcepts.net.HttpProxyConnection
- loads a remote URL into a byte array
- getServer().
Method in class COM.webconcepts.net.ServiceThread
- gets the host server for this thread
- getServerSocket().
Method in class COM.webconcepts.net.MultiThreadServer
- returns the server socket
- handleServiceException(Exception).
Method in class COM.webconcepts.net.ServiceThread
- This method is called in case there are any exceptions while the thread is
running
- HttpProxyConnection(String).
Constructor for class COM.webconcepts.net.HttpProxyConnection
- creates a new proxy connection to the name host using the standard port
(usually 4005)
- HttpProxyConnection(String, int).
Constructor for class COM.webconcepts.net.HttpProxyConnection
-
creates a new proxy connection to the named host using a non-standard port
- HttpProxyServiceThread().
Constructor for class COM.webconcepts.net.HttpProxyServiceThread
-
- init().
Method in class COM.webconcepts.net.MultiThreadServer
- init() populates the thread pool and starts each listener thread
- main(String[]).
Static method in class COM.webconcepts.net.HttpProxyServer
- launches the proxy service
- MultiThreadServer(Class, int).
Constructor for class COM.webconcepts.net.MultiThreadServer
-
creates a multi-threaded server with a default backlog size and thread pool size (5)
- MultiThreadServer(Class, int, int).
Constructor for class COM.webconcepts.net.MultiThreadServer
-
creates a multi-threaded server with a default backlog size (5)
- MultiThreadServer(Class, int, int, int).
Constructor for class COM.webconcepts.net.MultiThreadServer
-
creates a multi-threaded server
- run().
Method in class COM.webconcepts.net.ServiceThread
- run() loops continuously until the thread dies or is shut down.
- service(InputStream, OutputStream).
Method in class COM.webconcepts.net.HttpProxyServiceThread
- service() is called by the run() method of ServiceThread whenever it
accept()s a new client.
- service(InputStream, OutputStream).
Method in class COM.webconcepts.net.ServiceThread
-
This empty method is called whenever a client connects to this service thread;
objects that implement a particular network protocol should define this method
to communicate with the client via the streams.
- ServiceThread().
Constructor for class COM.webconcepts.net.ServiceThread
-
- setServer(MultiThreadServer).
Method in class COM.webconcepts.net.ServiceThread
-
sets a reference back to the host server object