|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.util.HttpHeader
public class HttpHeader
Representation of occurrences of an HTTP header field.
These are defined in RFC 2616 and have the same general form as in RFC 822 section 3.1.
We generally assume that all continuation lines and occurrences in a message are concatenated with comma separators.
Nested Class Summary | |
---|---|
class |
HttpHeader.FieldIterator
Abstract enumeration of fields. |
static class |
HttpHeader.HttpHeaderException
|
static class |
HttpHeader.TokenAndQValue
A token and associated qvalue. |
class |
HttpHeader.TokenAndQValueIterator
Iteration over HttpHeader.TokenAndQValue s. |
static class |
HttpHeader.Tokenizer
Tokenizer for parsing occurences of a field. |
class |
HttpHeader.WordIterator
Iteration over HttpHeader.TokenAndQValue s. |
Field Summary | |
---|---|
protected HttpHeader.Tokenizer |
tokenizer
Instance of inner HttpHeader.Tokenizer . |
Constructor Summary | |
---|---|
HttpHeader(String values)
Create an instance representing the given comma separated fields. |
Method Summary | |
---|---|
HttpHeader.TokenAndQValue |
nextTokenAndQValue()
Factory method to create and return the next HttpHeader.TokenAndQValue . |
HttpHeader.TokenAndQValueIterator |
tokenAndQValueIterator()
Factory method to create and return an iterator of HttpHeader.TokenAndQValue 's. |
HttpHeader.WordIterator |
wordIterator()
Factory method to create and return an iterator of words. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected HttpHeader.Tokenizer tokenizer
HttpHeader.Tokenizer
.
Constructor Detail |
---|
public HttpHeader(String values)
Method Detail |
---|
public final HttpHeader.WordIterator wordIterator()
public HttpHeader.TokenAndQValue nextTokenAndQValue() throws HttpHeader.HttpHeaderException
HttpHeader.TokenAndQValue
.
HttpHeader.HttpHeaderException
public HttpHeader.TokenAndQValueIterator tokenAndQValueIterator()
HttpHeader.TokenAndQValue
's.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |