Polish HttpHeadersAssert
See gh-34286 Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
@@ -100,7 +100,7 @@ public class HttpHeadersAssert extends AbstractMapAssert<HttpHeadersAssert, Http
|
||||
/**
|
||||
* Verify that the actual HTTP headers contain a header with the given
|
||||
* {@code name} and {@link String} {@code value}.
|
||||
* @param name the name of the cookie
|
||||
* @param name the name of the header
|
||||
* @param value the expected value of the header
|
||||
*/
|
||||
public HttpHeadersAssert hasValue(String name, String value) {
|
||||
@@ -113,8 +113,8 @@ public class HttpHeadersAssert extends AbstractMapAssert<HttpHeadersAssert, Http
|
||||
|
||||
/**
|
||||
* Verify that the actual HTTP headers contain a header with the given
|
||||
* {@code name} and {@link Long} {@code value}.
|
||||
* @param name the name of the cookie
|
||||
* {@code name} and {@code long} {@code value}.
|
||||
* @param name the name of the header
|
||||
* @param value the expected value of the header
|
||||
*/
|
||||
public HttpHeadersAssert hasValue(String name, long value) {
|
||||
@@ -128,7 +128,7 @@ public class HttpHeadersAssert extends AbstractMapAssert<HttpHeadersAssert, Http
|
||||
/**
|
||||
* Verify that the actual HTTP headers contain a header with the given
|
||||
* {@code name} and {@link Instant} {@code value}.
|
||||
* @param name the name of the cookie
|
||||
* @param name the name of the header
|
||||
* @param value the expected value of the header
|
||||
*/
|
||||
public HttpHeadersAssert hasValue(String name, Instant value) {
|
||||
|
||||
Reference in New Issue
Block a user