Javax.xml.soap.MimeHeader Class



Introduction

The javax.xml.soap.MimeHeader class object stores a MIME header name and its value. One or more MimeHeader objects may be contained in a MimeHeaders object.

Class declaration

Following is the declaration for javax.xml.soap.MimeHeader class −

public class MimeHeader
   extends Object

Class constructors

S.N. Constructor & Description
1 MimeHeader(String name, String value)

This constructs a MimeHeader object initialized with the given name and value.

Class methods

S.N. Method & Description
1 String getName()

This method returns the name of this MimeHeader object.

2 String getValue()

This method returns the value of this MimeHeader object.

Methods inherited

This class inherits methods from the following classes −

java.lang.Object

Advertisements