public class LittleProxyConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getProxyCacheManagerClass() |
static boolean |
isTransparent()
Returns whether or not the proxy adds the 'via' header.
|
static boolean |
isUseDnsSec()
Whether or not we're configured to use DNSSEC for lookups.
|
static boolean |
isUseJmx()
Returns whether or not JMX is turned on.
|
static void |
setProxyCacheManagerClass(String clazz) |
static void |
setTransparent(boolean transparent)
Whether or not the proxy adds the 'via' header -- defaults to false.
|
static void |
setUseDnsSec(boolean useDnsSec)
Sets whether or not to use DNSSEC to request signed records when
performing DNS lookups and verifying those records if they exist.
|
static void |
setUseJmx(boolean useJmx)
Whether or not to use JMX -- defaults to false.
|
public static void setUseDnsSec(boolean useDnsSec)
useDnsSec - Whether or not to use DNSSEC.public static boolean isUseDnsSec()
true if configured to use DNSSEC, otherwise
false.public static void setUseJmx(boolean useJmx)
useJmx - Whether or not to use JMX.public static boolean isUseJmx()
true if JMX is turned on, otherwise
false.public static void setProxyCacheManagerClass(String clazz)
public static String getProxyCacheManagerClass()
public static void setTransparent(boolean transparent)
transparent - if true does not add the 'via' header.public static boolean isTransparent()
true if the proxy does not add the 'via' header, otherwise
false.Copyright © 2009-2013 LittleShoot. All Rights Reserved.