java.lang.Object
jakarta.xml.soap.MimeHeader
An object that stores a MIME header name and its value. One or more
MimeHeader
objects may be contained in a MimeHeaders
object.- Since:
- 1.6
- See Also:
-
Constructor Summary
ConstructorDescriptionMimeHeader
(String name, String value) Constructs aMimeHeader
object initialized with the given name and value. -
Method Summary
-
Constructor Details
-
MimeHeader
Constructs aMimeHeader
object initialized with the given name and value.- Parameters:
name
- aString
giving the name of the headervalue
- aString
giving the value of the header
-
-
Method Details
-
getName
Returns the name of thisMimeHeader
object.- Returns:
- the name of the header as a
String
-
getValue
Returns the value of thisMimeHeader
object.- Returns:
- the value of the header as a
String
-