| 程序包 | 说明 |
|---|---|
| icu.easyj.spring.boot.test | |
| icu.easyj.spring.boot.test.result |
| 限定符和类型 | 方法和说明 |
|---|---|
HeaderResult |
MockResponse.header() |
| 限定符和类型 | 方法和说明 |
|---|---|
HeaderResult |
HeaderResult.contains(String... expectedContainsHeaderNames)
判断响应头是否存在
|
HeaderResult |
HeaderResult.is(String headerName,
Object expectedHeaderValue)
判断响应头的值
|
HeaderResult |
HeaderResult.isMatch(String headerName,
Pattern expectedHeaderValuePattern)
根据正则判断响应头的值的格式
|
HeaderResult |
HeaderResult.isMatch(String headerName,
String expectedHeaderValuePattern)
根据匹配串判断响应头的值的格式
|
HeaderResult |
HeaderResult.notContains(String... expectedNotContainsHeaderNames)
判断响应头是否不存在
|
Copyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.