Top Description Fields Constructors Methods
jakarta.xml.soap

public Class MimeHeader

extends Object
Class Inheritance

An object that stores a MIME header name and its value. One or more MimeHeader objects may be contained in a MimeHeaders object.
Since
1.6
See Also
MimeHeaders

Field Summary

Modifier and TypeField and Description
private String
private String

Constructor Summary

AccessConstructor and Description
public
MimeHeader(String
a String giving the name of the header
name
,
String
a String giving the value of the header
value
)

Constructs a MimeHeader object initialized with the given name and value.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the header as a String
getName
()

Returns the name of this MimeHeader object.

public String

Returns:

the value of the header as a String
getValue
()

Returns the value of this MimeHeader object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
valueback to summary
private String value

Constructor Detail

MimeHeaderback to summary
public MimeHeader(String name, String value)

Constructs a MimeHeader object initialized with the given name and value.

Parameters
name:String

a String giving the name of the header

value:String

a String giving the value of the header

Method Detail

getNameback to summary
public String getName()

Returns the name of this MimeHeader object.

Returns:String

the name of the header as a String

getValueback to summary
public String getValue()

Returns the value of this MimeHeader object.

Returns:String

the value of the header as a String