public static interface MockServerRequest.Builder
MockServerRequest
.MockServerRequest.Builder method(HttpMethod method)
MockServerRequest.Builder uri(URI uri)
MockServerRequest.Builder contextPath(String contextPath)
MockServerRequest.Builder header(String key, String value)
MockServerRequest.Builder headers(HttpHeaders headers)
MockServerRequest.Builder cookie(HttpCookie... cookies)
MockServerRequest.Builder cookies(MultiValueMap<String,HttpCookie> cookies)
MockServerRequest.Builder attribute(String name, Object value)
MockServerRequest.Builder attributes(Map<String,Object> attributes)
MockServerRequest.Builder queryParam(String key, String value)
MockServerRequest.Builder queryParams(MultiValueMap<String,String> queryParams)
MockServerRequest.Builder pathVariable(String key, String value)
MockServerRequest.Builder pathVariables(Map<String,String> pathVariables)
MockServerRequest.Builder session(WebSession session)
MockServerRequest.Builder session(Principal principal)
MockServerRequest body(Object body)
MockServerRequest build()