Package | Description |
---|---|
org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
org.springframework.mock.web.server |
Mock implementations of Spring's reactive server web API abtsractions.
|
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.cors.reactive |
Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy. |
org.springframework.web.filter.reactive |
WebFilter implementations for use in
reactive web applications. |
org.springframework.web.reactive |
Top-level package for the
spring-webflux module that contains
DispatcherHandler , the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result. |
org.springframework.web.reactive.accept |
RequestedContentTypeResolver
strategy and implementations to resolve the requested content type for a
given request. |
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
org.springframework.web.reactive.handler |
Provides HandlerMapping implementations including abstract base classes.
|
org.springframework.web.reactive.resource |
Support classes for serving static resources.
|
org.springframework.web.reactive.result |
Support for various programming model styles including the invocation of
different types of handlers, e.g.
|
org.springframework.web.reactive.result.condition |
RequestCondition
and implementations for matching requests based on different criteria. |
org.springframework.web.reactive.result.method |
Infrastructure for handler method processing.
|
org.springframework.web.reactive.result.method.annotation |
Infrastructure for annotation-based handler method processing.
|
org.springframework.web.reactive.result.view |
Support for result handling through view resolution.
|
org.springframework.web.reactive.result.view.freemarker |
Support classes for the integration of
FreeMarker
as Spring web view technology.
|
org.springframework.web.reactive.result.view.script |
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
|
org.springframework.web.reactive.socket.server |
Server support for WebSocket interactions.
|
org.springframework.web.reactive.socket.server.support |
Server-side support classes for WebSocket requests.
|
org.springframework.web.reactive.socket.server.upgrade |
Holds implementations of
RequestUpgradeStrategy . |
org.springframework.web.server |
Core interfaces and classes for Spring's generic, reactive web support.
|
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
org.springframework.web.server.handler |
Provides common WebHandler implementations and a
WebHandlerDecorator . |
org.springframework.web.server.i18n |
Locale related support classes.
|
org.springframework.web.server.session |
Auxiliary interfaces and implementation classes for
WebSession support. |
Modifier and Type | Method and Description |
---|---|
ServerWebExchange |
MockServerRequest.exchange() |
Modifier and Type | Method and Description |
---|---|
MockServerRequest.Builder |
MockServerRequest.Builder.exchange(ServerWebExchange exchange) |
Modifier and Type | Class and Description |
---|---|
class |
MockServerWebExchange
Extension of
DefaultServerWebExchange for use in tests, along with
MockServerHttpRequest and MockServerHttpResponse . |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
WebExchangeDataBinder.bind(ServerWebExchange exchange)
Bind query params, form data, and or multipart form data to the binder target.
|
static reactor.core.publisher.Mono<java.util.Map<java.lang.String,java.lang.Object>> |
WebExchangeDataBinder.extractValuesToBind(ServerWebExchange exchange)
Combine query params and form data for multipart form data from the body
of the request into a
Map<String, Object> of values to use for
data binding purposes. |
protected reactor.core.publisher.Mono<java.util.Map<java.lang.String,java.lang.Object>> |
WebExchangeDataBinder.getValuesToBind(ServerWebExchange exchange)
Protected method to obtain the values for data binding.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
CorsWebFilter.filter(ServerWebExchange exchange,
WebFilterChain chain) |
CorsConfiguration |
UrlBasedCorsConfigurationSource.getCorsConfiguration(ServerWebExchange exchange) |
CorsConfiguration |
CorsConfigurationSource.getCorsConfiguration(ServerWebExchange exchange)
Return a
CorsConfiguration based on the incoming request. |
protected boolean |
DefaultCorsProcessor.handleInternal(ServerWebExchange exchange,
CorsConfiguration config,
boolean preFlightRequest)
Handle the given request.
|
boolean |
DefaultCorsProcessor.process(CorsConfiguration config,
ServerWebExchange exchange) |
boolean |
CorsProcessor.process(CorsConfiguration configuration,
ServerWebExchange exchange)
Process a request using the given
CorsConfiguration . |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
HiddenHttpMethodFilter.filter(ServerWebExchange exchange,
WebFilterChain chain)
Transform an HTTP POST into another method based on
methodParamName . |
reactor.core.publisher.Mono<java.lang.Void> |
ForwardedHeaderFilter.filter(ServerWebExchange exchange,
WebFilterChain chain)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
WebExchangeDataBinder |
BindingContext.createDataBinder(ServerWebExchange exchange,
java.lang.Object target,
java.lang.String name)
Create a
WebExchangeDataBinder to apply data binding and
validation with on the target, command object. |
WebExchangeDataBinder |
BindingContext.createDataBinder(ServerWebExchange exchange,
java.lang.String name)
Create a
WebExchangeDataBinder without a target object for type
conversion of request values to simple types. |
reactor.core.publisher.Mono<java.lang.Object> |
HandlerMapping.getHandler(ServerWebExchange exchange)
Return a handler for this request.
|
reactor.core.publisher.Mono<java.lang.Void> |
DispatcherHandler.handle(ServerWebExchange exchange) |
reactor.core.publisher.Mono<HandlerResult> |
HandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler)
Handle the request with the given handler.
|
reactor.core.publisher.Mono<java.lang.Void> |
HandlerResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result)
Process the given result modifying response headers and/or writing data
to the response.
|
protected WebExchangeDataBinder |
BindingContext.initDataBinder(WebExchangeDataBinder binder,
ServerWebExchange exchange)
Initialize the data binder instance for the given exchange.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MediaType> |
RequestedContentTypeResolver.resolveMediaTypes(ServerWebExchange exchange)
Resolve the given request to a list of requested media types.
|
java.util.List<MediaType> |
HeaderContentTypeResolver.resolveMediaTypes(ServerWebExchange exchange) |
java.util.List<MediaType> |
FixedContentTypeResolver.resolveMediaTypes(ServerWebExchange exchange) |
java.util.List<MediaType> |
ParameterContentTypeResolver.resolveMediaTypes(ServerWebExchange exchange) |
Modifier and Type | Method and Description |
---|---|
ServerWebExchange |
ServerRequest.exchange()
Get the web exchange that this request is based on.
|
Modifier and Type | Method and Description |
---|---|
static ServerRequest |
ServerRequest.create(ServerWebExchange exchange,
java.util.List<HttpMessageReader<?>> messageReaders)
Create a new
ServerRequest based on the given ServerWebExchange and
message readers. |
reactor.core.publisher.Mono<java.lang.Void> |
ServerResponse.writeTo(ServerWebExchange exchange,
ServerResponse.Context context)
Write this response to the given web exchange.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<ServerResponse> |
ServerResponse.HeadersBuilder.build(java.util.function.BiFunction<ServerWebExchange,ServerResponse.Context,reactor.core.publisher.Mono<java.lang.Void>> writeFunction)
Build the response entity with a custom writer function.
|
Modifier and Type | Method and Description |
---|---|
ServerWebExchange |
ServerRequestWrapper.exchange() |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<?> |
RouterFunctionMapping.getHandlerInternal(ServerWebExchange exchange) |
reactor.core.publisher.Mono<HandlerResult> |
HandlerFunctionAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
reactor.core.publisher.Mono<java.lang.Void> |
ServerResponseResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
Modifier and Type | Method and Description |
---|---|
protected CorsConfiguration |
AbstractHandlerMapping.getCorsConfiguration(java.lang.Object handler,
ServerWebExchange exchange)
Retrieve the CORS configuration for the given handler.
|
reactor.core.publisher.Mono<java.lang.Object> |
AbstractHandlerMapping.getHandler(ServerWebExchange exchange) |
protected abstract reactor.core.publisher.Mono<?> |
AbstractHandlerMapping.getHandlerInternal(ServerWebExchange exchange)
Look up a handler for the given request, returning an empty
Mono
if no specific one is found. |
reactor.core.publisher.Mono<java.lang.Object> |
AbstractUrlHandlerMapping.getHandlerInternal(ServerWebExchange exchange) |
protected java.lang.Object |
AbstractUrlHandlerMapping.lookupHandler(PathContainer lookupPath,
ServerWebExchange exchange)
Look up a handler instance for the given URL lookup path.
|
protected void |
AbstractUrlHandlerMapping.validateHandler(java.lang.Object handler,
ServerWebExchange exchange)
Validate the given handler against the current request.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
CachingResourceResolver.computeKey(ServerWebExchange exchange,
java.lang.String requestPath) |
reactor.core.publisher.Mono<java.lang.String> |
ResourceUrlProvider.getForUriString(java.lang.String uriString,
ServerWebExchange exchange)
Get the public resource URL for the given URI string.
|
protected reactor.core.publisher.Mono<Resource> |
ResourceWebHandler.getResource(ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
ResourceWebHandler.handle(ServerWebExchange exchange)
Processes a resource request.
|
reactor.core.publisher.Mono<Resource> |
ResourceResolverChain.resolveResource(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations)
Resolve the supplied request and request path to a
Resource that
exists under one of the given resource locations. |
reactor.core.publisher.Mono<Resource> |
ResourceResolver.resolveResource(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain)
Resolve the supplied request and request path to a
Resource that
exists under one of the given resource locations. |
reactor.core.publisher.Mono<Resource> |
AbstractResourceResolver.resolveResource(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<Resource> |
WebJarsResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<Resource> |
EncodedResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<Resource> |
GzipResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain)
Deprecated.
|
protected abstract reactor.core.publisher.Mono<Resource> |
AbstractResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<Resource> |
VersionResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<Resource> |
CachingResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<Resource> |
PathResourceResolver.resolveResourceInternal(ServerWebExchange exchange,
java.lang.String requestPath,
java.util.List<? extends Resource> locations,
ResourceResolverChain chain) |
protected reactor.core.publisher.Mono<java.lang.String> |
ResourceTransformerSupport.resolveUrlPath(java.lang.String resourcePath,
ServerWebExchange exchange,
Resource resource,
ResourceTransformerChain transformerChain)
A transformer can use this method when a resource being transformed
contains links to other resources.
|
protected void |
ResourceWebHandler.setHeaders(ServerWebExchange exchange,
Resource resource,
MediaType mediaType)
Set headers on the response.
|
protected java.lang.String |
ResourceTransformerSupport.toAbsolutePath(java.lang.String path,
ServerWebExchange exchange)
Transform the given relative request path to an absolute path,
taking the path of the given request as a point of reference.
|
reactor.core.publisher.Mono<Resource> |
ResourceTransformerChain.transform(ServerWebExchange exchange,
Resource resource)
Transform the given resource.
|
reactor.core.publisher.Mono<Resource> |
ResourceTransformer.transform(ServerWebExchange exchange,
Resource resource,
ResourceTransformerChain transformerChain)
Transform the given resource.
|
reactor.core.publisher.Mono<Resource> |
AppCacheManifestTransformer.transform(ServerWebExchange exchange,
Resource inputResource,
ResourceTransformerChain chain) |
reactor.core.publisher.Mono<Resource> |
CssLinkResourceTransformer.transform(ServerWebExchange exchange,
Resource inputResource,
ResourceTransformerChain transformerChain) |
reactor.core.publisher.Mono<Resource> |
CachingResourceTransformer.transform(ServerWebExchange exchange,
Resource resource,
ResourceTransformerChain transformerChain) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
SimpleHandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
protected MediaType |
HandlerResultHandlerSupport.selectMediaType(ServerWebExchange exchange,
java.util.function.Supplier<java.util.List<MediaType>> producibleTypesSupplier)
Select the best media type for the current request through a content
negotiation algorithm.
|
Modifier and Type | Method and Description |
---|---|
int |
CompositeRequestCondition.compareTo(CompositeRequestCondition other,
ServerWebExchange exchange)
If one instance is empty, the other "wins".
|
int |
ConsumesRequestCondition.compareTo(ConsumesRequestCondition other,
ServerWebExchange exchange)
Returns:
0 if the two conditions have the same number of expressions
Less than 0 if "this" has more or more specific media type expressions
Greater than 0 if "other" has more or more specific media type expressions
|
int |
HeadersRequestCondition.compareTo(HeadersRequestCondition other,
ServerWebExchange exchange)
Compare to another condition based on header expressions.
|
int |
ParamsRequestCondition.compareTo(ParamsRequestCondition other,
ServerWebExchange exchange)
Compare to another condition based on parameter expressions.
|
int |
PatternsRequestCondition.compareTo(PatternsRequestCondition other,
ServerWebExchange exchange)
Compare the two conditions based on the URL patterns they contain.
|
int |
ProducesRequestCondition.compareTo(ProducesRequestCondition other,
ServerWebExchange exchange)
Compares this and another "produces" condition as follows:
Sort 'Accept' header media types by quality value via
MediaType.sortByQualityValue(List) and iterate the list. |
int |
RequestConditionHolder.compareTo(RequestConditionHolder other,
ServerWebExchange exchange)
Compare the request conditions held by the two RequestConditionHolder
instances after making sure the conditions are of the same type.
|
int |
RequestMethodsRequestCondition.compareTo(RequestMethodsRequestCondition other,
ServerWebExchange exchange)
Returns:
0 if the two conditions contain the same number of HTTP request methods
Less than 0 if "this" instance has an HTTP request method but "other" doesn't
Greater than 0 "other" has an HTTP request method but "this" doesn't
|
int |
RequestCondition.compareTo(T other,
ServerWebExchange exchange)
Compare this condition to another condition in the context of
a specific request.
|
RequestMethodsRequestCondition |
RequestMethodsRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Check if any of the HTTP request methods match the given request and
return an instance that contains the matching HTTP request method only.
|
ParamsRequestCondition |
ParamsRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Returns "this" instance if the request matches all param expressions;
or
null otherwise. |
T |
RequestCondition.getMatchingCondition(ServerWebExchange exchange)
Check if the condition matches the request returning a potentially new
instance created for the current request.
|
PatternsRequestCondition |
PatternsRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Checks if any of the patterns match the given request and returns an instance
that is guaranteed to contain matching patterns, sorted.
|
HeadersRequestCondition |
HeadersRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Returns "this" instance if the request matches all expressions;
or
null otherwise. |
CompositeRequestCondition |
CompositeRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Delegate to all contained conditions to match the request and return the
resulting "matching" condition instances.
|
RequestConditionHolder |
RequestConditionHolder.getMatchingCondition(ServerWebExchange exchange)
Get the matching condition for the held request condition wrap it in a
new RequestConditionHolder instance.
|
ProducesRequestCondition |
ProducesRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Checks if any of the contained media type expressions match the given
request 'Content-Type' header and returns an instance that is guaranteed
to contain matching expressions only.
|
ConsumesRequestCondition |
ConsumesRequestCondition.getMatchingCondition(ServerWebExchange exchange)
Checks if any of the contained media type expressions match the given
request 'Content-Type' header and returns an instance that is guaranteed
to contain matching expressions only.
|
Modifier and Type | Method and Description |
---|---|
int |
RequestMappingInfo.compareTo(RequestMappingInfo other,
ServerWebExchange exchange)
Compares "this" info (i.e.
|
protected CorsConfiguration |
AbstractHandlerMethodMapping.getCorsConfiguration(java.lang.Object handler,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<HandlerMethod> |
AbstractHandlerMethodMapping.getHandlerInternal(ServerWebExchange exchange)
Look up a handler method for the given request.
|
protected java.util.Comparator<RequestMappingInfo> |
RequestMappingInfoHandlerMapping.getMappingComparator(ServerWebExchange exchange)
Provide a Comparator to sort RequestMappingInfos matched to a request.
|
protected abstract java.util.Comparator<T> |
AbstractHandlerMethodMapping.getMappingComparator(ServerWebExchange exchange)
Return a comparator for sorting matching mappings.
|
RequestMappingInfo |
RequestMappingInfo.getMatchingCondition(ServerWebExchange exchange)
Checks if all conditions in this request mapping info match the provided request and returns
a potentially new request mapping info with conditions tailored to the current request.
|
protected RequestMappingInfo |
RequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfo info,
ServerWebExchange exchange)
Check if the given RequestMappingInfo matches the current request and
return a (potentially new) instance with conditions that match the
current request -- for example with a subset of URL patterns.
|
protected abstract T |
AbstractHandlerMethodMapping.getMatchingMapping(T mapping,
ServerWebExchange exchange)
Check if a mapping matches the current request and return a (potentially
new) mapping with conditions relevant to the current request.
|
protected void |
RequestMappingInfoHandlerMapping.handleMatch(RequestMappingInfo info,
HandlerMethod handlerMethod,
ServerWebExchange exchange)
Expose URI template variables, matrix variables, and producible media types in the request.
|
protected void |
AbstractHandlerMethodMapping.handleMatch(T mapping,
HandlerMethod handlerMethod,
ServerWebExchange exchange)
Invoked when a matching mapping is found.
|
protected HandlerMethod |
RequestMappingInfoHandlerMapping.handleNoMatch(java.util.Set<RequestMappingInfo> infos,
ServerWebExchange exchange)
Iterate all RequestMappingInfos once again, look if any match by URL at
least and raise exceptions accordingly.
|
protected HandlerMethod |
AbstractHandlerMethodMapping.handleNoMatch(java.util.Set<T> mappings,
ServerWebExchange exchange)
Invoked when no matching mapping is not found.
|
reactor.core.publisher.Mono<HandlerResult> |
InvocableHandlerMethod.invoke(ServerWebExchange exchange,
BindingContext bindingContext,
java.lang.Object... providedArgs)
Invoke the method for the given exchange.
|
HandlerResult |
SyncInvocableHandlerMethod.invokeForHandlerResult(ServerWebExchange exchange,
BindingContext bindingContext,
java.lang.Object... providedArgs)
Invoke the method for the given exchange.
|
protected HandlerMethod |
AbstractHandlerMethodMapping.lookupHandlerMethod(ServerWebExchange exchange)
Look up the best-matching handler method for the current request.
|
reactor.core.publisher.Mono<java.lang.Object> |
HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange)
Resolve the value for the method parameter.
|
default reactor.core.publisher.Mono<java.lang.Object> |
SyncHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange)
Resolve the value for the method parameter.
|
java.lang.Object |
SyncHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange)
Resolve the value for the method parameter synchronously.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
RequestMappingHandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
protected void |
RequestParamMethodArgumentResolver.handleMissingValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected void |
AbstractNamedValueArgumentResolver.handleMissingValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange)
Invoked when a named value is required, but
AbstractNamedValueArgumentResolver.resolveName(String, MethodParameter, ServerWebExchange) returned
null and there is no default value. |
protected void |
AbstractNamedValueArgumentResolver.handleResolvedValue(java.lang.Object arg,
java.lang.String name,
MethodParameter parameter,
Model model,
ServerWebExchange exchange)
Invoked after a value is resolved.
|
protected void |
PathVariableMethodArgumentResolver.handleResolvedValue(java.lang.Object arg,
java.lang.String name,
MethodParameter parameter,
Model model,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
ResponseBodyResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
reactor.core.publisher.Mono<java.lang.Void> |
ResponseEntityResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
protected reactor.core.publisher.Mono<java.lang.Object> |
AbstractMessageReaderArgumentResolver.readBody(MethodParameter bodyParameter,
boolean isBodyRequired,
BindingContext bindingContext,
ServerWebExchange exchange)
Read the body from a method argument with
HttpMessageReader . |
protected reactor.core.publisher.Mono<java.lang.Object> |
AbstractMessageReaderArgumentResolver.readBody(MethodParameter bodyParam,
MethodParameter actualParam,
boolean isBodyRequired,
BindingContext bindingContext,
ServerWebExchange exchange)
Read the body from a method argument with
HttpMessageReader . |
reactor.core.publisher.Mono<java.lang.Object> |
RequestBodyArgumentResolver.resolveArgument(MethodParameter param,
BindingContext bindingContext,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
AbstractNamedValueSyncArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
AbstractNamedValueArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
PrincipalArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext context,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
HttpEntityArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
ErrorsMethodArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext context,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
WebSessionArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext context,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
ModelAttributeMethodArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext context,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Object> |
RequestPartMethodArgumentResolver.resolveArgument(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
java.lang.Object |
MatrixVariableMapMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
java.lang.Object |
SessionStatusMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
java.lang.Object |
AbstractNamedValueSyncArgumentResolver.resolveArgumentValue(MethodParameter parameter,
BindingContext context,
ServerWebExchange exchange) |
java.lang.Object |
ModelArgumentResolver.resolveArgumentValue(MethodParameter parameter,
BindingContext context,
ServerWebExchange exchange) |
java.lang.Object |
RequestHeaderMapMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter,
BindingContext context,
ServerWebExchange exchange) |
java.lang.Object |
ServerWebExchangeArgumentResolver.resolveArgumentValue(MethodParameter methodParameter,
BindingContext context,
ServerWebExchange exchange) |
java.lang.Object |
RequestParamMapMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter,
BindingContext context,
ServerWebExchange exchange) |
java.lang.Object |
PathVariableMapMethodArgumentResolver.resolveArgumentValue(MethodParameter methodParameter,
BindingContext context,
ServerWebExchange exchange) |
protected reactor.core.publisher.Mono<java.lang.Object> |
AbstractNamedValueSyncArgumentResolver.resolveName(java.lang.String name,
MethodParameter param,
ServerWebExchange exchange) |
protected abstract reactor.core.publisher.Mono<java.lang.Object> |
AbstractNamedValueArgumentResolver.resolveName(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange)
Resolve the given parameter type and value name into an argument value.
|
protected reactor.core.publisher.Mono<java.lang.Object> |
SessionAttributeMethodArgumentResolver.resolveName(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected java.lang.Object |
RequestHeaderMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected abstract java.lang.Object |
AbstractNamedValueSyncArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter param,
ServerWebExchange exchange)
Actually resolve the value synchronously.
|
protected java.lang.Object |
RequestAttributeMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected java.lang.Object |
RequestParamMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected java.lang.Object |
MatrixVariableMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter param,
ServerWebExchange exchange) |
protected java.lang.Object |
ExpressionValueMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected java.lang.Object |
PathVariableMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected java.lang.Object |
CookieValueMethodArgumentResolver.resolveNamedValue(java.lang.String name,
MethodParameter parameter,
ServerWebExchange exchange) |
protected reactor.core.publisher.Mono<java.lang.Void> |
AbstractMessageWriterResultHandler.writeBody(java.lang.Object body,
MethodParameter bodyParameter,
MethodParameter actualParam,
ServerWebExchange exchange)
Write a given body to the response with
HttpMessageWriter . |
protected reactor.core.publisher.Mono<java.lang.Void> |
AbstractMessageWriterResultHandler.writeBody(java.lang.Object body,
MethodParameter bodyParameter,
ServerWebExchange exchange)
Write a given body to the response with
HttpMessageWriter . |
Modifier and Type | Method and Description |
---|---|
protected ServerWebExchange |
RequestContext.getExchange() |
Modifier and Type | Method and Description |
---|---|
protected RequestContext |
AbstractView.createRequestContext(ServerWebExchange exchange,
java.util.Map<java.lang.String,java.lang.Object> model)
Create a RequestContext to expose under the specified attribute name.
|
protected java.lang.String |
RedirectView.createTargetUrl(java.util.Map<java.lang.String,java.lang.Object> model,
ServerWebExchange exchange)
Create the target URL and, if necessary, pre-pend the contextPath, expand
URI template variables, append the current request query, and apply the
configured
RequestDataValueProcessor . |
java.util.Map<java.lang.String,java.lang.String> |
RequestDataValueProcessor.getExtraHiddenFields(ServerWebExchange exchange)
Invoked after all form fields have been rendered.
|
protected reactor.core.publisher.Mono<java.util.Map<java.lang.String,java.lang.Object>> |
AbstractView.getModelAttributes(java.util.Map<java.lang.String,?> model,
ServerWebExchange exchange)
Prepare the model to use for rendering.
|
reactor.core.publisher.Mono<java.lang.Void> |
ViewResolutionResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
java.lang.String |
RequestDataValueProcessor.processAction(ServerWebExchange exchange,
java.lang.String action,
java.lang.String httpMethod)
Invoked when a new form action is rendered.
|
java.lang.String |
RequestDataValueProcessor.processFormFieldValue(ServerWebExchange exchange,
java.lang.String name,
java.lang.String value,
java.lang.String type)
Invoked when a form field value is rendered.
|
java.lang.String |
RequestDataValueProcessor.processUrl(ServerWebExchange exchange,
java.lang.String url)
Invoked when a URL is about to be rendered or redirected to.
|
reactor.core.publisher.Mono<java.lang.Void> |
AbstractView.render(java.util.Map<java.lang.String,?> model,
MediaType contentType,
ServerWebExchange exchange)
Prepare the model to render.
|
reactor.core.publisher.Mono<java.lang.Void> |
HttpMessageWriterView.render(java.util.Map<java.lang.String,?> model,
MediaType contentType,
ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
View.render(java.util.Map<java.lang.String,?> model,
MediaType contentType,
ServerWebExchange exchange)
Render the view based on the given
HandlerResult . |
protected abstract reactor.core.publisher.Mono<java.lang.Void> |
AbstractView.renderInternal(java.util.Map<java.lang.String,java.lang.Object> renderAttributes,
MediaType contentType,
ServerWebExchange exchange)
Subclasses must implement this method to actually render the view.
|
protected reactor.core.publisher.Mono<java.lang.Void> |
RedirectView.renderInternal(java.util.Map<java.lang.String,java.lang.Object> model,
MediaType contentType,
ServerWebExchange exchange)
Convert model to request parameters and redirect to the given URL.
|
protected reactor.core.publisher.Mono<java.lang.Void> |
RedirectView.sendRedirect(java.lang.String targetUrl,
ServerWebExchange exchange)
Send a redirect back to the HTTP client.
|
Constructor and Description |
---|
RequestContext(ServerWebExchange exchange,
java.util.Map<java.lang.String,java.lang.Object> model,
MessageSource messageSource) |
RequestContext(ServerWebExchange exchange,
java.util.Map<java.lang.String,java.lang.Object> model,
MessageSource messageSource,
RequestDataValueProcessor dataValueProcessor) |
Modifier and Type | Method and Description |
---|---|
protected freemarker.template.SimpleHash |
FreeMarkerView.getTemplateModel(java.util.Map<java.lang.String,java.lang.Object> model,
ServerWebExchange exchange)
Build a FreeMarker template model for the given model Map.
|
protected reactor.core.publisher.Mono<java.lang.Void> |
FreeMarkerView.renderInternal(java.util.Map<java.lang.String,java.lang.Object> renderAttributes,
MediaType contentType,
ServerWebExchange exchange) |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<java.lang.Void> |
ScriptTemplateView.renderInternal(java.util.Map<java.lang.String,java.lang.Object> model,
MediaType contentType,
ServerWebExchange exchange) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
WebSocketService.handleRequest(ServerWebExchange exchange,
WebSocketHandler webSocketHandler)
Handle the request with the given
WebSocketHandler . |
default reactor.core.publisher.Mono<java.lang.Void> |
RequestUpgradeStrategy.upgrade(ServerWebExchange exchange,
WebSocketHandler webSocketHandler,
java.lang.String subProtocol)
Deprecated.
as of 5.1 in favor of
RequestUpgradeStrategy.upgrade(ServerWebExchange, WebSocketHandler, String, Supplier) |
default reactor.core.publisher.Mono<java.lang.Void> |
RequestUpgradeStrategy.upgrade(ServerWebExchange exchange,
WebSocketHandler webSocketHandler,
java.lang.String subProtocol,
java.util.function.Supplier<HandshakeInfo> handshakeInfoFactory)
Upgrade to a WebSocket session and handle it with the given handler.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
WebSocketHandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
reactor.core.publisher.Mono<java.lang.Void> |
HandshakeWebSocketService.handleRequest(ServerWebExchange exchange,
WebSocketHandler handler) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
ReactorNettyRequestUpgradeStrategy.upgrade(ServerWebExchange exchange,
WebSocketHandler handler,
java.lang.String subProtocol,
java.util.function.Supplier<HandshakeInfo> handshakeInfoFactory) |
reactor.core.publisher.Mono<java.lang.Void> |
JettyRequestUpgradeStrategy.upgrade(ServerWebExchange exchange,
WebSocketHandler handler,
java.lang.String subProtocol,
java.util.function.Supplier<HandshakeInfo> handshakeInfoFactory) |
reactor.core.publisher.Mono<java.lang.Void> |
TomcatRequestUpgradeStrategy.upgrade(ServerWebExchange exchange,
WebSocketHandler handler,
java.lang.String subProtocol,
java.util.function.Supplier<HandshakeInfo> handshakeInfoFactory) |
reactor.core.publisher.Mono<java.lang.Void> |
UndertowRequestUpgradeStrategy.upgrade(ServerWebExchange exchange,
WebSocketHandler handler,
java.lang.String subProtocol,
java.util.function.Supplier<HandshakeInfo> handshakeInfoFactory) |
Modifier and Type | Class and Description |
---|---|
class |
ServerWebExchangeDecorator
A convenient base class for classes that need to wrap another
ServerWebExchange . |
Modifier and Type | Method and Description |
---|---|
ServerWebExchange |
ServerWebExchange.Builder.build()
Build a
ServerWebExchange decorator with the mutated properties. |
ServerWebExchange |
ServerWebExchangeDecorator.getDelegate() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
WebFilterChain.filter(ServerWebExchange exchange)
Delegate to the next
WebFilter in the chain. |
reactor.core.publisher.Mono<java.lang.Void> |
WebFilter.filter(ServerWebExchange exchange,
WebFilterChain chain)
Process the Web request and (optionally) delegate to the next
WebFilter through the given WebFilterChain . |
reactor.core.publisher.Mono<java.lang.Void> |
WebHandler.handle(ServerWebExchange exchange)
Handle the web server exchange.
|
reactor.core.publisher.Mono<java.lang.Void> |
WebExceptionHandler.handle(ServerWebExchange exchange,
java.lang.Throwable ex)
Handle the given exception.
|
Constructor and Description |
---|
ServerWebExchangeDecorator(ServerWebExchange delegate) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultServerWebExchange
Default implementation of
ServerWebExchange . |
Modifier and Type | Method and Description |
---|---|
protected ServerWebExchange |
HttpWebHandlerAdapter.createExchange(ServerHttpRequest request,
ServerHttpResponse response) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
DefaultWebFilterChain.filter(ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
WebHandlerDecorator.handle(ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
ExceptionHandlingWebHandler.handle(ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
FilteringWebHandler.handle(ServerWebExchange exchange) |
reactor.core.publisher.Mono<java.lang.Void> |
ResponseStatusExceptionHandler.handle(ServerWebExchange exchange,
java.lang.Throwable ex) |
Modifier and Type | Method and Description |
---|---|
LocaleContext |
FixedLocaleContextResolver.resolveLocaleContext(ServerWebExchange exchange) |
LocaleContext |
AcceptHeaderLocaleContextResolver.resolveLocaleContext(ServerWebExchange exchange) |
LocaleContext |
LocaleContextResolver.resolveLocaleContext(ServerWebExchange exchange)
Resolve the current locale context via the given exchange.
|
void |
FixedLocaleContextResolver.setLocaleContext(ServerWebExchange exchange,
LocaleContext localeContext) |
void |
AcceptHeaderLocaleContextResolver.setLocaleContext(ServerWebExchange exchange,
LocaleContext locale) |
void |
LocaleContextResolver.setLocaleContext(ServerWebExchange exchange,
LocaleContext localeContext)
Set the current locale context to the given one,
potentially including a locale with associated time zone information.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSessionIdResolver.expireSession(ServerWebExchange exchange)
Instruct the client to end the current session.
|
void |
CookieWebSessionIdResolver.expireSession(ServerWebExchange exchange) |
void |
HeaderWebSessionIdResolver.expireSession(ServerWebExchange exchange) |
reactor.core.publisher.Mono<WebSession> |
WebSessionManager.getSession(ServerWebExchange exchange)
Return the
WebSession for the given exchange. |
reactor.core.publisher.Mono<WebSession> |
DefaultWebSessionManager.getSession(ServerWebExchange exchange) |
java.util.List<java.lang.String> |
WebSessionIdResolver.resolveSessionIds(ServerWebExchange exchange)
Resolve the session id's associated with the request.
|
java.util.List<java.lang.String> |
CookieWebSessionIdResolver.resolveSessionIds(ServerWebExchange exchange) |
java.util.List<java.lang.String> |
HeaderWebSessionIdResolver.resolveSessionIds(ServerWebExchange exchange) |
void |
WebSessionIdResolver.setSessionId(ServerWebExchange exchange,
java.lang.String sessionId)
Send the given session id to the client.
|
void |
CookieWebSessionIdResolver.setSessionId(ServerWebExchange exchange,
java.lang.String id) |
void |
HeaderWebSessionIdResolver.setSessionId(ServerWebExchange exchange,
java.lang.String id) |