jap
Class JAPController.WarnNoJonDoFoxHttpListener

java.lang.Object
  extended by anon.proxy.AbstractHTTPConnectionListener
      extended by anon.proxy.HttpConnectionListenerAdapter
          extended by jap.JAPController.WarnNoJonDoFoxHttpListener
All Implemented Interfaces:
IBrowserIdentification
Enclosing class:
JAPController

private static class JAPController.WarnNoJonDoFoxHttpListener
extends HttpConnectionListenerAdapter
implements IBrowserIdentification


Field Summary
static int BROWSER_CHROME
           
static int BROWSER_FIREFOX
           
static int BROWSER_INTERNET_EXPLORER
           
static int BROWSER_JONDOFOX
           
static int BROWSER_KONQUEROR
           
private static java.lang.String[] BROWSER_NAME
           
private static long[] BROWSER_OCCURENCE
           
static int BROWSER_OPERA
           
static int BROWSER_RECOGNITION_UNINITIALISED
           
static int BROWSER_SAFARI
           
static int BROWSER_TORBUTTON
           
static int BROWSER_UNKNOWN
           
private static boolean ms_bShowWarning
           
private static boolean ms_bWarned
           
 
Constructor Summary
JAPController.WarnNoJonDoFoxHttpListener(int a_priority, boolean a_bWarn)
           
 
Method Summary
 java.lang.String getBrowserName()
           
 int getMostFrequentBrowser()
           
 boolean isWarningShownOnInsecureBrowser()
           
 void requestHeadersReceived(HTTPConnectionEvent event)
           
 
Methods inherited from class anon.proxy.HttpConnectionListenerAdapter
downstreamContentBytesReceived, responseHeadersReceived, upstreamContentBytesReceived
 
Methods inherited from class anon.proxy.AbstractHTTPConnectionListener
equals, getPriority, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BROWSER_RECOGNITION_UNINITIALISED

public static final int BROWSER_RECOGNITION_UNINITIALISED
See Also:
Constant Field Values

BROWSER_UNKNOWN

public static final int BROWSER_UNKNOWN
See Also:
Constant Field Values

BROWSER_TORBUTTON

public static final int BROWSER_TORBUTTON
See Also:
Constant Field Values

BROWSER_JONDOFOX

public static final int BROWSER_JONDOFOX
See Also:
Constant Field Values

BROWSER_INTERNET_EXPLORER

public static final int BROWSER_INTERNET_EXPLORER
See Also:
Constant Field Values

BROWSER_FIREFOX

public static final int BROWSER_FIREFOX
See Also:
Constant Field Values

BROWSER_OPERA

public static final int BROWSER_OPERA
See Also:
Constant Field Values

BROWSER_SAFARI

public static final int BROWSER_SAFARI
See Also:
Constant Field Values

BROWSER_KONQUEROR

public static final int BROWSER_KONQUEROR
See Also:
Constant Field Values

BROWSER_CHROME

public static final int BROWSER_CHROME
See Also:
Constant Field Values

BROWSER_OCCURENCE

private static final long[] BROWSER_OCCURENCE

BROWSER_NAME

private static final java.lang.String[] BROWSER_NAME

ms_bWarned

private static boolean ms_bWarned

ms_bShowWarning

private static boolean ms_bShowWarning
Constructor Detail

JAPController.WarnNoJonDoFoxHttpListener

public JAPController.WarnNoJonDoFoxHttpListener(int a_priority,
                                                boolean a_bWarn)
Method Detail

getMostFrequentBrowser

public int getMostFrequentBrowser()

getBrowserName

public java.lang.String getBrowserName()
Specified by:
getBrowserName in interface IBrowserIdentification

isWarningShownOnInsecureBrowser

public boolean isWarningShownOnInsecureBrowser()

requestHeadersReceived

public void requestHeadersReceived(HTTPConnectionEvent event)
Overrides:
requestHeadersReceived in class HttpConnectionListenerAdapter