[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eHTTPHeader\u003c/code\u003e represents either an HTTP request or response header.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHTTPHeader\u003c/code\u003e class inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and implements \u003ccode\u003eSerializable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA new header can be created using the \u003ccode\u003eHTTPHeader(String name, String value)\u003c/code\u003e constructor, requiring a non-null name and accepting either a single value or a comma-separated list of values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetName()\u003c/code\u003e method returns the name of the header as a String.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetValue()\u003c/code\u003e method returns the value of the header as a String.\u003c/p\u003e\n"]]],[],null,["# Class HTTPHeader (2.0.0)\n\n public class HTTPHeader implements Serializable\n\n`HTTPHeader` can represent either an HTTP request header, or\nan HTTP response header. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e HTTPHeader \n\nImplements\n----------\n\n[Serializable](https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html) \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### HTTPHeader(String name, String value)\n\n public HTTPHeader(String name, String value)\n\nCreates a new header with the specified name and value.\n\nMethods\n-------\n\n### getName()\n\n public String getName()\n\n### getValue()\n\n public String getValue()"]]