anon.proxy
Class AnonProxyRequest
java.lang.Object
anon.proxy.AnonProxyRequest
- All Implemented Interfaces:
- java.lang.Runnable
public final class AnonProxyRequest
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ms_nrOfRequests
private static int ms_nrOfRequests
TIMEOUT_RECONNECT
private static final long TIMEOUT_RECONNECT
- See Also:
- Constant Field Values
CHUNK_SIZE
private static final int CHUNK_SIZE
- See Also:
- Constant Field Values
ms_currentRequest
private static int ms_currentRequest
m_InChannel
private java.io.InputStream m_InChannel
m_OutChannel
private java.io.OutputStream m_OutChannel
m_InSocket
private java.io.InputStream m_InSocket
m_OutSocket
private java.io.OutputStream m_OutSocket
m_clientSocket
private java.net.Socket m_clientSocket
m_threadResponse
private java.lang.Thread m_threadResponse
m_threadRequest
private java.lang.Thread m_threadRequest
m_Channel
private AnonChannel m_Channel
m_Proxy
private AnonProxy m_Proxy
m_bRequestIsAlive
private volatile boolean m_bRequestIsAlive
m_iProtocol
private int m_iProtocol
m_syncObject
private java.lang.Object m_syncObject
m_callbackHandler
private ProxyCallbackHandler m_callbackHandler
contentEncodings
private java.lang.String[] contentEncodings
internalEncodingRequired
private boolean internalEncodingRequired
AnonProxyRequest
AnonProxyRequest(AnonProxy proxy,
java.net.Socket clientSocket,
java.lang.Object a_syncObject,
ProxyCallbackHandler callbackHandler)
throws java.io.IOException
- Throws:
java.io.IOException
getNrOfRequests
public static int getNrOfRequests()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
sendRemainingBytesRecursion
private static void sendRemainingBytesRecursion(ProxyCallbackBuffer pcBuffer,
int sentBytes,
java.io.OutputStream outputStream)
throws java.io.IOException
- Throws:
java.io.IOException
closeRequest
private void closeRequest()
isInternalEncodingRequired
public boolean isInternalEncodingRequired()
setInternalEncodingRequired
public void setInternalEncodingRequired(boolean internalEncodingRequired)
getContentEncodings
public java.lang.String[] getContentEncodings()
setContentEncodings
public void setContentEncodings(java.lang.String[] contentEncodings)