|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MimeHeaderHolder
| Method Summary | |
|---|---|
boolean |
notifyBeginParsing(MimeParser parser)
The parsing is now about to start, take any appropriate action. |
void |
notifyEndParsing(MimeParser parser)
All the headers have been parsed, take any appropriate actions. |
void |
notifyHeader(java.lang.String name,
byte[] buf,
int off,
int len)
A new header has been parsed. |
| Method Detail |
|---|
void notifyHeader(java.lang.String name,
byte[] buf,
int off,
int len)
throws MimeParserException
name - The name of the encountered header.buf - The byte buffer containing the value.off - Offset of the header value in the above buffer.len - Length of the value in the above header.
MimeParserException - if the parsing failed
boolean notifyBeginParsing(MimeParser parser)
throws MimeParserException,
java.io.IOException
This hack is primarily defined for HTTP/0.9 support, it might also be usefull for other hacks.
parser - The Mime parser.
MimeParserException - if the parsing failed
java.io.IOException - if an IO error occurs.
void notifyEndParsing(MimeParser parser)
throws MimeParserException,
java.io.IOException
parser - The Mime parser.
MimeParserException - if the parsing failed
java.io.IOException - if an IO error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||