public class Directives extends Object implements Iterable<Directives.Entry>
JSONEnabled
as the underlying structure is a list, not an object.
There is a toJSONArray()
method though.Modifier and Type | Class and Description |
---|---|
class |
Directives.Entry |
Modifier and Type | Field and Description |
---|---|
private List<Directives.Entry> |
directives |
private static Logger |
logger |
private static ThreadLocal<Directives> |
threadLocalDirectives |
Constructor and Description |
---|
Directives() |
Modifier and Type | Method and Description |
---|---|
void |
add(Directive dir,
JSONEnabled arg) |
static Directives |
get() |
Iterator<Directives.Entry> |
iterator() |
static void |
remove() |
org.codehaus.jettison.json.JSONArray |
toJSONArray() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private List<Directives.Entry> directives
private static final ThreadLocal<Directives> threadLocalDirectives
public Directives()
public void add(Directive dir, JSONEnabled arg)
public org.codehaus.jettison.json.JSONArray toJSONArray()
public static Directives get()
public static void remove()
public Iterator<Directives.Entry> iterator()
iterator
in interface Iterable<Directives.Entry>
Copyright © 2018. All Rights Reserved.