跳过导航链接
B C E G H I M Q S W 

B

BaseResult - icu.easyj.spring.boot.test.result中的类
响应结果基类
BaseResult(MockResponse) - 类 的构造器icu.easyj.spring.boot.test.result.BaseResult
构造函数
BaseSpringBootMockMvcTest - icu.easyj.spring.boot.test中的类
SpringBoot的模拟MVC接口测试 基类
BaseSpringBootMockMvcTest(Filter...) - 类 的构造器icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
构造函数
beforeEach() - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
 

C

characterEncoding(Charset) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置字符编码
characterEncoding(String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置字符编码
content(byte[]) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置内容
content(String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置内容
content(Object) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置内容
content(Class<T>) - 类 中的方法icu.easyj.spring.boot.test.MockResponse
 
content() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
 
content - 类 中的变量icu.easyj.spring.boot.test.result.GenericContentResult
 
ContentResult - icu.easyj.spring.boot.test.result中的类
响应头结果
ContentResult(MockResponse, String) - 类 的构造器icu.easyj.spring.boot.test.result.ContentResult
 
contentType(MediaType) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置请求内容类型枚举
contentType(String) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置请求内容类型
contentType() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
 
ContentTypeResult - icu.easyj.spring.boot.test.result中的类
响应内容类型结果
ContentTypeResult(MockResponse, String) - 类 的构造器icu.easyj.spring.boot.test.result.ContentTypeResult
 

E

end() - 类 中的方法icu.easyj.spring.boot.test.result.BaseResult
结束对当前响应结果的校验,可继续对下一个响应结果的校验,也可直接结束不校验了。

G

GenericContentResult<T,R extends GenericContentResult<T,R>> - icu.easyj.spring.boot.test.result中的类
泛型响应内容结果
GenericContentResult(MockResponse, T) - 类 的构造器icu.easyj.spring.boot.test.result.GenericContentResult
构造函数

H

header() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
 
HeaderResult - icu.easyj.spring.boot.test.result中的类
响应头结果
HeaderResult(MockResponse, MockHttpServletResponse) - 类 的构造器icu.easyj.spring.boot.test.result.HeaderResult
 

I

icu.easyj.spring.boot.test - 程序包 icu.easyj.spring.boot.test
 
icu.easyj.spring.boot.test.result - 程序包 icu.easyj.spring.boot.test.result
 
init() - 类 中的方法icu.easyj.spring.boot.test.MockRequest
初始化部分属性
initMockMvc(Filter...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
初始化模拟MVC
is(String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
校验响应内容
is(Consumer<String>) - 类 中的方法icu.easyj.spring.boot.test.result.ContentResult
可自定义验证方法
is(String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentTypeResult
 
is(String, String) - 类 中的方法icu.easyj.spring.boot.test.result.ContentTypeResult
 
is(MediaType) - 类 中的方法icu.easyj.spring.boot.test.result.ContentTypeResult
 
is(Consumer<T>) - 类 中的方法icu.easyj.spring.boot.test.result.GenericContentResult
可自定义验证方法
is(int) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
 
is(int...) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
 
is(HttpStatus) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
 
is(HttpStatus...) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
 
isClientErrorSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态为 4xx 系列
isInformationalSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态为 1xx 系列
isOk() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
请求成功,响应200
isOk() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
 
isRedirectionSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态为 3xx 系列
isSeries(HttpStatus.Series) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态系列
isSeries(HttpStatus.Series...) - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态系列
isServerErrorSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态为 5xx 系列
isSuccessfulSeries() - 类 中的方法icu.easyj.spring.boot.test.result.StatusResult
判断响应状态为 2xx 系列

M

mockDelete(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
创建模拟DELETE请求
mockGet(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
创建模拟GET请求
mockMvc - 类 中的变量icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
 
mockPatch(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
创建模拟PATCH请求
mockPost(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
创建模拟POST请求
mockPut(String, Object...) - 类 中的方法icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
创建模拟PUT请求
MockRequest - icu.easyj.spring.boot.test中的类
模拟Request
MockRequest(MockMvc, MockHttpServletRequestBuilder) - 类 的构造器icu.easyj.spring.boot.test.MockRequest
 
MockResponse - icu.easyj.spring.boot.test中的类
模拟Response
MockResponse(ResultActions) - 类 的构造器icu.easyj.spring.boot.test.MockResponse
 
mockResponse - 类 中的变量icu.easyj.spring.boot.test.result.BaseResult
 

Q

queryParam(String, String...) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
设置查询参数
queryParams(MultiValueMap<String, String>) - 类 中的方法icu.easyj.spring.boot.test.MockRequest
批量设置查询参数

S

send() - 类 中的方法icu.easyj.spring.boot.test.MockRequest
发送模拟请求
status() - 类 中的方法icu.easyj.spring.boot.test.MockResponse
 
StatusResult - icu.easyj.spring.boot.test.result中的类
响应状态结果
StatusResult(MockResponse, int) - 类 的构造器icu.easyj.spring.boot.test.result.StatusResult
 

W

wac - 类 中的变量icu.easyj.spring.boot.test.BaseSpringBootMockMvcTest
 
B C E G H I M Q S W 
跳过导航链接

Copyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.