Java™ Platform
Standard Ed. 8
javax.xml.soap

Class 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 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
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部