public interface Field
null
name and a content body (unfolded but unparsed and possibly encoded). Optionally implementing
classes may also retain the original (raw) representation in a form of ByteSequence
.
Specific implementations of this interface may also use a richer model to represent the field
if its body can be parsed into a set of constituent elements.Modifier and Type | Method and Description |
---|---|
String |
getBody()
Gets the unparsed and possibly encoded (see RFC 2047) field body string.
|
String |
getName()
Returns the name of the field.
|
ByteSequence |
getRaw()
Gets original (raw) representation of the field, if available,
null otherwise. |
String getName()
String getBody()
ByteSequence getRaw()
null
otherwise.Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.