| Modifier and Type | Class and Description |
|---|---|
static class |
HttpField.CachedHttpField
A HTTP Field optimised to be reused.
|
| Modifier and Type | Field and Description |
|---|---|
static Trie<HttpField> |
HttpField.CACHE
Cache of common
HttpFields including:
Common static combinations such as:
Connection: close
Accept-Encoding: gzip
Content-Length: 0
Combinations of Content-Type header for common mime types by common charsets
Most common headers with null values so that a lookup will at least
determine the header name even if the name:value combination is not cached
|
static Trie<HttpField> |
HttpField.CONTENT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
HttpField |
HttpFields.getField(HttpHeader header) |
HttpField |
HttpFields.getField(int i)
Get a Field by index.
|
HttpField |
HttpFields.getField(String name) |
| Modifier and Type | Method and Description |
|---|---|
Trie<HttpField> |
HttpParser.getFieldCache() |
Iterator<HttpField> |
HttpFields.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpFields.add(HttpField field) |
boolean |
HttpField.isSame(HttpField field) |
boolean |
HttpParser.HttpHandler.parsedHeader(HttpField field)
This is the method called by parser when a HTTP Header name and value is found
|
boolean |
HttpTester.Message.parsedHeader(HttpField field) |
void |
HttpFields.put(HttpField field) |
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.