Part.getHeader

Returns the value of the specified mime header as a <code>string</code>. If the Part did not include a header of the specified name, this method returns <code>null</code>. If there are multiple headers with the same name, this method returns the first header in the part. The header name is case insensitive. You can use this method with any request header.

@param name a <code>string</code> specifying the header name

@return a <code>string</code> containing the value of the requested header, or <code>null</code> if the part does not have a header of that name

interface Part
string
getHeader
(
string name
)

Meta