FileDocCategorySizeDatePackage
MimeHeader.javaAPI DocJava SE 6 API2050Tue Jun 10 00:27:10 BST 2008javax.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
MimeHeaders

Fields Summary
private String
name
private String
value
Constructors Summary
public MimeHeader(String name, String value)
Constructs a MimeHeader object initialized with the given name and value.

param
name a String giving the name of the header
param
value a String giving the value of the header

	this.name = name;
	this.value = value;
    
Methods Summary
public java.lang.StringgetName()
Returns the name of this MimeHeader object.

return
the name of the header as a String

	return name;
    
public java.lang.StringgetValue()
Returns the value of this MimeHeader object.

return
the value of the header as a String

	return value;