|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.mime.MimeHeader
com.lutris.mime.ContentHeader
public class ContentHeader
Parses and represents Mime header fields that have the form of the
Content-Type
header as defined in RFC2045 Section 5.1 Page 11.
The format of these headers is informally:
Examples:: [ ; ... ]
Content-Type: application/octet-stream Content-Type: multipart/form-data; boundary="---123456" Content-Disposition: form-data; name=upload; filename="/tmp/myfile"In addition to the actual header syntax, RFC822 header comments are allowed. Such comments consist of text enclosed in parentheses.
Constructor Summary | |
---|---|
ContentHeader(MimeHeader hdr)
Constructs a new ContentTypeHeader object from an existing MimeHeader object. |
|
ContentHeader(java.lang.String headerLine)
Constructs a new ContentTypeHeader object from an unparsed Mime Content-Type header line. |
Method Summary |
---|
Methods inherited from class com.lutris.mime.MimeHeader |
---|
getHeaderType, getParameter, getParameterNames, getParameters, getRawHeaderLine, getValue, parseParameters, putParameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentHeader(java.lang.String headerLine)
Content-Type
header line. The header line should include
the entire line as read from the input source.
headerLine
- The entire line containing the Mime header.public ContentHeader(MimeHeader hdr)
MimeHeader
object.
hdr
- An existing MimeHeader
object.
|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |