public final class RawField extends Object implements Field
Raw (unstructured) MIME field. The field's body is unparsed and possibly encoded.
Instances of this class can be created by using
RawFieldParser.parseField(ByteSequence)
method.
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Gets the unparsed and possibly encoded (see RFC 2047) field body string.
|
int |
getDelimiterIdx() |
String |
getName()
Returns the name of the field.
|
ByteSequence |
getRaw()
Gets original (raw) representation of the field, if available,
null otherwise. |
String |
toString() |
public ByteSequence getRaw()
Field
null
otherwise.public String getName()
Field
public String getBody()
Field
public int getDelimiterIdx()
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.