We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2679e commit 1c4729bCopy full SHA for 1c4729b
httpcore5/src/main/java/org/apache/hc/core5/http/NameValuePair.java
@@ -28,14 +28,24 @@
28
package org.apache.hc.core5.http;
29
30
/**
31
- * A name / value pair parameter used as an element of HTTP messages.
+ * A name-value pair parameter used as an element of HTTP messages.
32
*
33
* @since 4.0
34
*/
35
public interface NameValuePair {
36
37
+ /**
38
+ * Gets the name of this pair.
39
+ *
40
+ * @return the name of this pair, never {@code null}.
41
+ */
42
String getName();
43
44
45
+ * Gets the value of this pair.
46
47
+ * @return the value of this pair, may be {@code null}.
48
49
String getValue();
50
51
}
0 commit comments