Class MimeHeader
- java.lang.Object
-
- javax.xml.soap.MimeHeader
public class MimeHeader extends Object
An object that stores a MIME header name and its value. One or more MimeHeader
objects may be contained in a MimeHeaders
object.
- See Also:
MimeHeaders
Constructors
Constructor and Description |
---|
MimeHeader(String name,
String value) Constructs a |
Methods
Modifier and Type | Method and Description |
---|---|
String |
getName() Returns the name of this |
String |
getValue() Returns the value of this |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
MimeHeader
public MimeHeader(String name, String value)
Constructs a MimeHeader
object initialized with the given name and value.
- Parameters:
-
name
- aString
giving the name of the header -
value
- aString
giving the value of the header
Methods
getName
public String getName()
Returns the name of this MimeHeader
object.
- Returns:
- the name of the header as a
String
getValue
public String getValue()
Returns the value of this MimeHeader
object.
- Returns:
- the value of the header as a
String
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/soap/MimeHeader.html