Interface MockServerRequest.Builder
- Enclosing class:
- MockServerRequest
public static interface MockServerRequest.Builder
Builder for
MockServerRequest
.-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, Object> attributes) build()
contextPath
(String contextPath) cookie
(HttpCookie... cookies) cookies
(MultiValueMap<String, HttpCookie> cookies) exchange
(ServerWebExchange exchange) headers
(HttpHeaders headers) localAddress
(InetSocketAddress localAddress) messageReaders
(List<HttpMessageReader<?>> messageReaders) method
(HttpMethod method) pathVariable
(String key, String value) pathVariables
(Map<String, String> pathVariables) queryParam
(String key, String value) queryParams
(MultiValueMap<String, String> queryParams) remoteAddress
(InetSocketAddress remoteAddress) session
(WebSession session)
-
Method Details
-
method
-
uri
-
contextPath
-
header
-
headers
-
cookie
-
cookies
-
attribute
-
attributes
-
queryParam
-
queryParams
-
pathVariable
-
pathVariables
-
session
-
principal
-
remoteAddress
-
localAddress
-
messageReaders
-
exchange
-
body
-
build
MockServerRequest build()
-