Package ucar.nc2.dods
Class RC
- java.lang.Object
-
- ucar.nc2.dods.RC
-
public class RC extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRC.Triple
-
Field Summary
Fields Modifier and Type Field Description protected static booleanallowSelfSignedstatic StringALLOWSELFSIGNEDKEYstatic org.slf4j.Loggerlogprotected static booleanuseGroupsstatic StringUSEGROUPSKEYprotected static booleanverifyServerstatic StringVERIFYSERVERKEY
-
Constructor Summary
Constructors Constructor Description RC()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidadd(String key, String value, String url)Allow users to add to the default rcstatic Stringfind(String key, String url)Allow users to search the default rcstatic booleangetAllowSelfSigned()List<RC.Triple>getTriples(String key)static booleangetUseGroups()static booleangetVerifyServer()static voidinitialize()RC.Tripleinsert(RC.Triple t)Set<String>keySet()booleanload(String abspath)RC.Triplelookup(String key)RC.Triplelookup(String key, String url)RC.Triplelookup(String key, URL url)static voidset(String key, String value)StringtoString()
-
-
-
Field Detail
-
log
public static org.slf4j.Logger log
-
USEGROUPSKEY
public static final String USEGROUPSKEY
- See Also:
- Constant Field Values
-
VERIFYSERVERKEY
public static final String VERIFYSERVERKEY
- See Also:
- Constant Field Values
-
ALLOWSELFSIGNEDKEY
public static final String ALLOWSELFSIGNEDKEY
- See Also:
- Constant Field Values
-
useGroups
protected static boolean useGroups
-
verifyServer
protected static boolean verifyServer
-
allowSelfSigned
protected static boolean allowSelfSigned
-
-
Method Detail
-
getUseGroups
public static boolean getUseGroups()
-
getVerifyServer
public static boolean getVerifyServer()
-
getAllowSelfSigned
public static boolean getAllowSelfSigned()
-
initialize
public static void initialize()
-
add
public static void add(String key, String value, String url)
Allow users to add to the default rc- Parameters:
key- add this keyvalue- and this valueurl- null => not url specific
-
find
public static String find(String key, String url)
Allow users to search the default rc- Parameters:
key- search for this keyurl- null => not url specific- Returns:
- value corresponding to key+url, or null if does not exist
-
load
public boolean load(String abspath)
-
-