javax.xml.soap
Class MimeHeader
java.lang.Object
javax.xml.soap.MimeHeader
public class MimeHeader
extends java.lang.Object
An object that stores a MIME header name and its value. One
or more MimeHeader
objects may be contained in a
MimeHeaders
object.
MimeHeader(String name, String value) - Constructs a
MimeHeader object initialized
with the given name and value.
|
String | getName() - Returns the name of this
MimeHeader
object.
|
String | getValue() - Returns the value of this
MimeHeader
object.
|
MimeHeader
public MimeHeader(String name,
String value)
Constructs a MimeHeader
object initialized
with the given name and value.
name
- a String
giving the
name of the headervalue
- a String
giving the
value of the header
getName
public String getName()
Returns the name of this MimeHeader
object.
- the name of the header as a
String
getValue
public String getValue()
Returns the value of this MimeHeader
object.
- the value of the header as a
String