Example #1
0
 HttpHeaders() {
   head.before = head.after = head;
 }
Example #2
0
 void remove() {
   before.after = after;
   after.before = before;
 }
Example #3
0
 void addBefore(HeaderEntry e) {
   after = e;
   before = e.before;
   before.after = this;
   after.before = this;
 }
Example #4
0
 void clearHeaders() {
   for (int i = 0; i < entries.length; i++) {
     entries[i] = null;
   }
   head.before = head.after = head;
 }