javax.xml.soap
public class: MimeHeader [javadoc |
source]
java.lang.Object
javax.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.
| Constructor: |
public MimeHeader(String name,
String value) {
this.name = name;
this.value = value;
}
Constructs a MimeHeader object initialized with the given
name and value. Parameters:
name - a String giving the name of the header
value - a String giving the value of the header
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.xml.soap.MimeHeader Detail: |
public String getName() {
return name;
}
Returns the name of this MimeHeader object. |
public String getValue() {
return value;
}
Returns the value of this MimeHeader object. |