Fix set100ContinueExpected(...) jsvadoc
Motivation: We don't have an argument named {@code value} but have {@code set} and {@code expected} in HttpHeaders and HttpUtil respectively. Modifications: I replaced {@code value} to {@code set} and {@code expected} in HttpHeaders and HttpUtil respectively. Result: Now javadoc says; If {@code set} is {@code true}, the {@code "Expect: 100-continue"} header is set and all other previous {@code "Expect"} headers are removed. Otherwise, all {@code "Expect"} headers are removed completely. in HttpHeaders If {@code expected} is {@code true}, the {@code "Expect: 100-continue"} header is set and all other previous {@code "Expect"} headers are removed. Otherwise, all {@code "Expect"} headers are removed completely. in HttpUtil
This commit is contained in:
parent
88dff2a017
commit
a2620ebb6a
@ -1142,7 +1142,7 @@ public abstract class HttpHeaders implements Iterable<Map.Entry<String, String>>
|
||||
|
||||
/**
|
||||
* Sets or removes the {@code "Expect: 100-continue"} header to / from the
|
||||
* specified message. If the specified {@code value} is {@code true},
|
||||
* specified message. If {@code set} is {@code true},
|
||||
* the {@code "Expect: 100-continue"} header is set and all other previous
|
||||
* {@code "Expect"} headers are removed. Otherwise, all {@code "Expect"}
|
||||
* headers are removed completely.
|
||||
|
Loading…
x
Reference in New Issue
Block a user