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.
MimeHeaderspublic 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 headerpublic String getName()
Returns the name of this MimeHeader object.
String
public String getValue()
Returns the value of this MimeHeader object.
String
© 1993–2017, 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.