Package | Description |
---|---|
org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
Modifier and Type | Method and Description |
---|---|
MockServerRequest.Builder |
MockServerRequest.Builder.attribute(String name,
Object value) |
MockServerRequest.Builder |
MockServerRequest.Builder.attributes(Map<String,Object> attributes) |
static MockServerRequest.Builder |
MockServerRequest.builder()
Deprecated.
|
MockServerRequest.Builder |
MockServerRequest.Builder.contextPath(String contextPath) |
MockServerRequest.Builder |
MockServerRequest.Builder.cookie(org.springframework.http.HttpCookie... cookies) |
MockServerRequest.Builder |
MockServerRequest.Builder.cookies(org.springframework.util.MultiValueMap<String,org.springframework.http.HttpCookie> cookies) |
MockServerRequest.Builder |
MockServerRequest.Builder.exchange(org.springframework.web.server.ServerWebExchange exchange) |
MockServerRequest.Builder |
MockServerRequest.Builder.header(String key,
String value) |
MockServerRequest.Builder |
MockServerRequest.Builder.headers(org.springframework.http.HttpHeaders headers) |
MockServerRequest.Builder |
MockServerRequest.Builder.localAddress(InetSocketAddress localAddress) |
MockServerRequest.Builder |
MockServerRequest.Builder.messageReaders(List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders) |
MockServerRequest.Builder |
MockServerRequest.Builder.method(org.springframework.http.HttpMethod method) |
MockServerRequest.Builder |
MockServerRequest.Builder.pathVariable(String key,
String value) |
MockServerRequest.Builder |
MockServerRequest.Builder.pathVariables(Map<String,String> pathVariables) |
MockServerRequest.Builder |
MockServerRequest.Builder.principal(Principal principal) |
MockServerRequest.Builder |
MockServerRequest.Builder.queryParam(String key,
String value) |
MockServerRequest.Builder |
MockServerRequest.Builder.queryParams(org.springframework.util.MultiValueMap<String,String> queryParams) |
MockServerRequest.Builder |
MockServerRequest.Builder.remoteAddress(InetSocketAddress remoteAddress) |
MockServerRequest.Builder |
MockServerRequest.Builder.session(Principal principal)
Deprecated.
in favor of
principal(Principal) |
MockServerRequest.Builder |
MockServerRequest.Builder.session(org.springframework.web.server.WebSession session) |
MockServerRequest.Builder |
MockServerRequest.Builder.uri(URI uri) |