Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Java(tm) System Message Queue v3.6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.xml.soap
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`

Constructor Summary
`MimeHeader(String name, String value)` Constructs a `MimeHeader` object initialized with the given name and value.

Method Summary
`String` | `getName()` Returns the name of this `MimeHeader` object.
`String` | `getValue()` Returns the value of this `MimeHeader` object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MimeHeader

    public MimeHeader(String name,
                      String value)

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

Parameters:
  `name` - a `String` giving the name of the header
  `value` - a `String` giving the value of the header

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Java(tm) System Message Queue v3.6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2004 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, California, 95054, U.S.A. All Rights Reserved.