anon.proxy
Class HTTPConnectionEvent

java.lang.Object
  extended by anon.proxy.HTTPConnectionEvent

public class HTTPConnectionEvent
extends java.lang.Object


Field Summary
private  AnonProxyRequest anonRequest
           
private  HTTPProxyCallback.HTTPConnectionHeader connectionHeader
           
private  long downStreamContentBytes
           
private  long upStreamContentBytes
           
 
Constructor Summary
HTTPConnectionEvent()
           
HTTPConnectionEvent(HTTPProxyCallback.HTTPConnectionHeader connectionHeader, long upStreamContentBytes, long downStreamContentBytes, AnonProxyRequest anonRequest)
           
 
Method Summary
 AnonProxyRequest getAnonRequest()
           
 HTTPProxyCallback.HTTPConnectionHeader getConnectionHeader()
           
 long getDownStreamContentBytes()
           
 long getUpStreamContentBytes()
           
 void setAnonRequest(AnonProxyRequest anonRequest)
           
 void setConnectionHeader(HTTPProxyCallback.HTTPConnectionHeader connectionHeader)
           
 void setDownStreamContentBytes(long downStreamContentBytes)
           
 void setUpStreamContentBytes(long upStreamContentBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionHeader

private HTTPProxyCallback.HTTPConnectionHeader connectionHeader

upStreamContentBytes

private volatile long upStreamContentBytes

downStreamContentBytes

private volatile long downStreamContentBytes

anonRequest

private AnonProxyRequest anonRequest
Constructor Detail

HTTPConnectionEvent

public HTTPConnectionEvent()

HTTPConnectionEvent

HTTPConnectionEvent(HTTPProxyCallback.HTTPConnectionHeader connectionHeader,
                    long upStreamContentBytes,
                    long downStreamContentBytes,
                    AnonProxyRequest anonRequest)
Method Detail

getConnectionHeader

public HTTPProxyCallback.HTTPConnectionHeader getConnectionHeader()

setConnectionHeader

public void setConnectionHeader(HTTPProxyCallback.HTTPConnectionHeader connectionHeader)

getUpStreamContentBytes

public long getUpStreamContentBytes()

setUpStreamContentBytes

public void setUpStreamContentBytes(long upStreamContentBytes)

getDownStreamContentBytes

public long getDownStreamContentBytes()

setDownStreamContentBytes

public void setDownStreamContentBytes(long downStreamContentBytes)

getAnonRequest

public AnonProxyRequest getAnonRequest()

setAnonRequest

public void setAnonRequest(AnonProxyRequest anonRequest)