proproxy
Class ProHTTPProcessor
java.lang.Object
|
+--proproxy.ProAbstractTCPProcessor
|
+--proproxy.ProHTTPProcessor
- All Implemented Interfaces:
- java.lang.Runnable
- public class ProHTTPProcessor
- extends ProAbstractTCPProcessor
ProHTTPProcessor
The HTTP connection processor. Takes up a new connection, determines the server
and port to connect to, opens a new connection and keeps passing
data to and fro till the connection breaks.
You are free to use this code and to make modifications provided
this notice is retained.
If you found this useful, please add a note of acknowledgement to my
guestbook.
If you would like to report a bug or suggest some improvements,
you are most welcome. I will be happy to help you use this piece of code.
- Version:
- 1.10, 10th Mar, 2000
- Author:
- Tanmay K. Mohapatra
Constructor Summary |
ProHTTPProcessor(java.util.Stack cache)
save the cache stack. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProHTTPProcessor
public ProHTTPProcessor(java.util.Stack cache)
- save the cache stack.
openConnection
public void openConnection()
throws java.io.IOException
- Overrides:
openConnection
in class ProAbstractTCPProcessor
processConnection
public void processConnection()
throws java.io.IOException
- Overrides:
processConnection
in class ProAbstractTCPProcessor
setCompression
public static void setCompression(boolean bCompress)
getCompression
public static boolean getCompression()