public final class AnonProxyRequest
extends java.lang.Object
implements java.lang.Runnable
AnonChannel
, corresponding to the necessary protocol, to the
destination using the given AnonProxy
object.
This allows the request to be intercepted and processed, if necessary, before sending it to the destination over the channel. Similarly the response received over the channel to this object can be processed before relaying to the client over the client socket.
Modifier and Type | Method and Description |
---|---|
int |
getAnonymityDistribution()
Get the anonymity distribution of the mix cascade used by the underlying
proxy server.
|
static int |
getNrOfRequests() |
boolean |
isBrowserWarningShown() |
boolean |
isInternalEncodingRequired() |
void |
run()
Reads first byte from the given client socket to recognize the kind of
request.
|
void |
showBrowserWarning(boolean a_bShow) |
public int getAnonymityDistribution()
MixCascade.getDistribution()
public static int getNrOfRequests()
ms_nrOfRequests
public void run()
After that a corresponding AnonChannel
to the destination of the
request is created to listen for a Response
on.
Read the request in chunks and send the chunks to a ProxyCallbackHandler
for intermittent processing, before sending it to
the destination using the AnonChannel
created earlier.
run
in interface java.lang.Runnable
Response
public boolean isInternalEncodingRequired()
public void showBrowserWarning(boolean a_bShow)
public boolean isBrowserWarningShown()
Copyright © 2023. All rights reserved.