Uses of Interface
org.springframework.web.server.ServerWebExchange
Packages that use ServerWebExchange 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 abstractions.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 commonCorsProcessorstrategy.org.springframework.web.filter.reactive WebFilterimplementations for use in reactive web applications.org.springframework.web.reactive Top-level package for thespring-webfluxmodule that containsDispatcherHandler, 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 RequestedContentTypeResolverstrategy 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 for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.serverpackage.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 RequestConditionand 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 ofRequestUpgradeStrategy.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 underlyingorg.springframework.http.client.reactivereactive HTTP adapter andHttpHandler.org.springframework.web.server.handler Provides common WebHandler implementations and aWebHandlerDecorator.org.springframework.web.server.i18n Locale related support classes.org.springframework.web.server.session Auxiliary interfaces and implementation classes forWebSessionsupport.Uses of ServerWebExchange in org.springframework.mock.web.reactive.function.server
Methods in org.springframework.mock.web.reactive.function.server that return ServerWebExchange Modifier and Type Method Description ServerWebExchangeMockServerRequest. exchange()Methods in org.springframework.mock.web.reactive.function.server with parameters of type ServerWebExchange Modifier and Type Method Description MockServerRequest.BuilderMockServerRequest.Builder. exchange(ServerWebExchange exchange)Uses of ServerWebExchange in org.springframework.mock.web.server
Classes in org.springframework.mock.web.server that implement ServerWebExchange Modifier and Type Class Description classMockServerWebExchangeExtension ofDefaultServerWebExchangefor use in tests, along withMockServerHttpRequestandMockServerHttpResponse.Uses of ServerWebExchange in org.springframework.web.bind.support
Methods in org.springframework.web.bind.support with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>WebExchangeDataBinder. bind(ServerWebExchange exchange)Bind query params, form data, and or multipart form data to the binder target.static reactor.core.publisher.Mono<Map<String,Object>>WebExchangeDataBinder. extractValuesToBind(ServerWebExchange exchange)Combine query params and form data for multipart form data from the body of the request into aMap<String, Object>of values to use for data binding purposes.protected reactor.core.publisher.Mono<Map<String,Object>>WebExchangeDataBinder. getValuesToBind(ServerWebExchange exchange)Protected method to obtain the values for data binding.Uses of ServerWebExchange in org.springframework.web.cors.reactive
Methods in org.springframework.web.cors.reactive with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>CorsWebFilter. filter(ServerWebExchange exchange, WebFilterChain chain)CorsConfigurationCorsConfigurationSource. getCorsConfiguration(ServerWebExchange exchange)Return aCorsConfigurationbased on the incoming request.CorsConfigurationUrlBasedCorsConfigurationSource. getCorsConfiguration(ServerWebExchange exchange)protected booleanDefaultCorsProcessor. handleInternal(ServerWebExchange exchange, CorsConfiguration config, boolean preFlightRequest)Handle the given request.booleanCorsProcessor. process(CorsConfiguration configuration, ServerWebExchange exchange)Process a request using the givenCorsConfiguration.booleanDefaultCorsProcessor. process(CorsConfiguration config, ServerWebExchange exchange)Uses of ServerWebExchange in org.springframework.web.filter.reactive
Methods in org.springframework.web.filter.reactive that return types with arguments of type ServerWebExchange Modifier and Type Method Description static Optional<ServerWebExchange>ServerWebExchangeContextFilter. get(reactor.util.context.Context context)Access theServerWebExchangefrom the Reactor Context, if available, which is ifServerWebExchangeContextFilteris configured for use and the give context was obtained from a request processing chain.Methods in org.springframework.web.filter.reactive with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>ForwardedHeaderFilter. filter(ServerWebExchange exchange, WebFilterChain chain)Deprecated.reactor.core.publisher.Mono<Void>HiddenHttpMethodFilter. filter(ServerWebExchange exchange, WebFilterChain chain)Transform an HTTP POST into another method based onmethodParamName.reactor.core.publisher.Mono<Void>ServerWebExchangeContextFilter. filter(ServerWebExchange exchange, WebFilterChain chain)Uses of ServerWebExchange in org.springframework.web.reactive
Methods in org.springframework.web.reactive with parameters of type ServerWebExchange Modifier and Type Method Description WebExchangeDataBinderBindingContext. createDataBinder(ServerWebExchange exchange, Object target, String name)Create aWebExchangeDataBinderto apply data binding and validation with on the target, command object.WebExchangeDataBinderBindingContext. createDataBinder(ServerWebExchange exchange, String name)Create aWebExchangeDataBinderwithout a target object for type conversion of request values to simple types.reactor.core.publisher.Mono<Object>HandlerMapping. getHandler(ServerWebExchange exchange)Return a handler for this request.reactor.core.publisher.Mono<Void>DispatcherHandler. handle(ServerWebExchange exchange)reactor.core.publisher.Mono<HandlerResult>HandlerAdapter. handle(ServerWebExchange exchange, Object handler)Handle the request with the given handler.reactor.core.publisher.Mono<Void>HandlerResultHandler. handleResult(ServerWebExchange exchange, HandlerResult result)Process the given result modifying response headers and/or writing data to the response.protected WebExchangeDataBinderBindingContext. initDataBinder(WebExchangeDataBinder binder, ServerWebExchange exchange)Initialize the data binder instance for the given exchange.Uses of ServerWebExchange in org.springframework.web.reactive.accept
Methods in org.springframework.web.reactive.accept with parameters of type ServerWebExchange Modifier and Type Method Description List<MediaType>FixedContentTypeResolver. resolveMediaTypes(ServerWebExchange exchange)List<MediaType>HeaderContentTypeResolver. resolveMediaTypes(ServerWebExchange exchange)List<MediaType>ParameterContentTypeResolver. resolveMediaTypes(ServerWebExchange exchange)List<MediaType>RequestedContentTypeResolver. resolveMediaTypes(ServerWebExchange exchange)Resolve the given request to a list of requested media types.Uses of ServerWebExchange in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return ServerWebExchange Modifier and Type Method Description ServerWebExchangeServerRequest. exchange()Get the web exchange that this request is based on.Methods in org.springframework.web.reactive.function.server with parameters of type ServerWebExchange Modifier and Type Method Description static ServerRequestServerRequest. create(ServerWebExchange exchange, List<HttpMessageReader<?>> messageReaders)Create a newServerRequestbased on the givenServerWebExchangeand message readers.reactor.core.publisher.Mono<Void>ServerResponse. writeTo(ServerWebExchange exchange, ServerResponse.Context context)Write this response to the given web exchange.Method parameters in org.springframework.web.reactive.function.server with type arguments of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<ServerResponse>ServerResponse.HeadersBuilder. build(BiFunction<ServerWebExchange,ServerResponse.Context,reactor.core.publisher.Mono<Void>> writeFunction)Build the response entity with a custom writer function.Uses of ServerWebExchange in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support that return ServerWebExchange Modifier and Type Method Description ServerWebExchangeServerRequestWrapper. exchange()Methods in org.springframework.web.reactive.function.server.support with parameters of type ServerWebExchange Modifier and Type Method Description protected reactor.core.publisher.Mono<?>RouterFunctionMapping. getHandlerInternal(ServerWebExchange exchange)reactor.core.publisher.Mono<HandlerResult>HandlerFunctionAdapter. handle(ServerWebExchange exchange, Object handler)reactor.core.publisher.Mono<Void>ServerResponseResultHandler. handleResult(ServerWebExchange exchange, HandlerResult result)Uses of ServerWebExchange in org.springframework.web.reactive.handler
Methods in org.springframework.web.reactive.handler with parameters of type ServerWebExchange Modifier and Type Method Description protected CorsConfigurationAbstractHandlerMapping. getCorsConfiguration(Object handler, ServerWebExchange exchange)Retrieve the CORS configuration for the given handler.reactor.core.publisher.Mono<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 emptyMonoif no specific one is found.reactor.core.publisher.Mono<Object>AbstractUrlHandlerMapping. getHandlerInternal(ServerWebExchange exchange)protected ObjectAbstractUrlHandlerMapping. lookupHandler(PathContainer lookupPath, ServerWebExchange exchange)Look up a handler instance for the given URL lookup path.protected voidAbstractUrlHandlerMapping. validateHandler(Object handler, ServerWebExchange exchange)Validate the given handler against the current request.Uses of ServerWebExchange in org.springframework.web.reactive.resource
Methods in org.springframework.web.reactive.resource with parameters of type ServerWebExchange Modifier and Type Method Description protected StringCachingResourceResolver. computeKey(ServerWebExchange exchange, String requestPath)reactor.core.publisher.Mono<String>ResourceUrlProvider. getForUriString(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<Void>ResourceWebHandler. handle(ServerWebExchange exchange)Processes a resource request.reactor.core.publisher.Mono<Resource>AbstractResourceResolver. resolveResource(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)reactor.core.publisher.Mono<Resource>ResourceResolver. resolveResource(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.reactor.core.publisher.Mono<Resource>ResourceResolverChain. resolveResource(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations)Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.protected abstract reactor.core.publisher.Mono<Resource>AbstractResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)protected reactor.core.publisher.Mono<Resource>CachingResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)protected reactor.core.publisher.Mono<Resource>EncodedResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)protected reactor.core.publisher.Mono<Resource>GzipResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)Deprecated.protected reactor.core.publisher.Mono<Resource>PathResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)protected reactor.core.publisher.Mono<Resource>VersionResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)protected reactor.core.publisher.Mono<Resource>WebJarsResourceResolver. resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)protected reactor.core.publisher.Mono<String>ResourceTransformerSupport. resolveUrlPath(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 voidResourceWebHandler. setHeaders(ServerWebExchange exchange, Resource resource, MediaType mediaType)Set headers on the response.protected StringResourceTransformerSupport. toAbsolutePath(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>AppCacheManifestTransformer. transform(ServerWebExchange exchange, Resource inputResource, ResourceTransformerChain chain)reactor.core.publisher.Mono<Resource>CachingResourceTransformer. transform(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain)reactor.core.publisher.Mono<Resource>CssLinkResourceTransformer. transform(ServerWebExchange exchange, Resource inputResource, ResourceTransformerChain transformerChain)reactor.core.publisher.Mono<Resource>ResourceTransformer. transform(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain)Transform the given resource.reactor.core.publisher.Mono<Resource>ResourceTransformerChain. transform(ServerWebExchange exchange, Resource resource)Transform the given resource.Uses of ServerWebExchange in org.springframework.web.reactive.result
Methods in org.springframework.web.reactive.result with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<HandlerResult>SimpleHandlerAdapter. handle(ServerWebExchange exchange, Object handler)protected MediaTypeHandlerResultHandlerSupport. selectMediaType(ServerWebExchange exchange, Supplier<List<MediaType>> producibleTypesSupplier)Select the best media type for the current request through a content negotiation algorithm.Uses of ServerWebExchange in org.springframework.web.reactive.result.condition
Methods in org.springframework.web.reactive.result.condition with parameters of type ServerWebExchange Modifier and Type Method Description static voidProducesRequestCondition. clearMediaTypesAttribute(ServerWebExchange exchange)Use this to clearProducesRequestCondition.MEDIA_TYPES_ATTRIBUTEthat contains the parsed, requested media types.intCompositeRequestCondition. compareTo(CompositeRequestCondition other, ServerWebExchange exchange)If one instance is empty, the other "wins".intConsumesRequestCondition. 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 expressionsintHeadersRequestCondition. compareTo(HeadersRequestCondition other, ServerWebExchange exchange)Compare to another condition based on header expressions.intParamsRequestCondition. compareTo(ParamsRequestCondition other, ServerWebExchange exchange)Compare to another condition based on parameter expressions.intPatternsRequestCondition. compareTo(PatternsRequestCondition other, ServerWebExchange exchange)Compare the two conditions based on the URL patterns they contain.intProducesRequestCondition. compareTo(ProducesRequestCondition other, ServerWebExchange exchange)Compares this and another "produces" condition as follows: Sort 'Accept' header media types by quality value viaMediaType.sortByQualityValue(List)and iterate the list.intRequestCondition. compareTo(T other, ServerWebExchange exchange)Compare this condition to another condition in the context of a specific request.intRequestConditionHolder. 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.intRequestMethodsRequestCondition. 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'tCompositeRequestConditionCompositeRequestCondition. getMatchingCondition(ServerWebExchange exchange)Delegate to all contained conditions to match the request and return the resulting "matching" condition instances.ConsumesRequestConditionConsumesRequestCondition. 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.HeadersRequestConditionHeadersRequestCondition. getMatchingCondition(ServerWebExchange exchange)Returns "this" instance if the request matches all expressions; ornullotherwise.ParamsRequestConditionParamsRequestCondition. getMatchingCondition(ServerWebExchange exchange)Returns "this" instance if the request matches all param expressions; ornullotherwise.PatternsRequestConditionPatternsRequestCondition. 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.ProducesRequestConditionProducesRequestCondition. 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.TRequestCondition. getMatchingCondition(ServerWebExchange exchange)Check if the condition matches the request returning a potentially new instance created for the current request.RequestConditionHolderRequestConditionHolder. getMatchingCondition(ServerWebExchange exchange)Get the matching condition for the held request condition wrap it in a new RequestConditionHolder instance.RequestMethodsRequestConditionRequestMethodsRequestCondition. 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.Uses of ServerWebExchange in org.springframework.web.reactive.result.method
Methods in org.springframework.web.reactive.result.method with parameters of type ServerWebExchange Modifier and Type Method Description intRequestMappingInfo. compareTo(RequestMappingInfo other, ServerWebExchange exchange)Compares "this" info (i.e.protected CorsConfigurationAbstractHandlerMethodMapping. getCorsConfiguration(Object handler, ServerWebExchange exchange)reactor.core.publisher.Mono<HandlerMethod>AbstractHandlerMethodMapping. getHandlerInternal(ServerWebExchange exchange)Look up a handler method for the given request.reactor.core.publisher.Mono<HandlerMethod>RequestMappingInfoHandlerMapping. getHandlerInternal(ServerWebExchange exchange)protected abstract Comparator<T>AbstractHandlerMethodMapping. getMappingComparator(ServerWebExchange exchange)Return a comparator for sorting matching mappings.protected Comparator<RequestMappingInfo>RequestMappingInfoHandlerMapping. getMappingComparator(ServerWebExchange exchange)Provide a Comparator to sort RequestMappingInfos matched to a request.RequestMappingInfoRequestMappingInfo. 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 abstract TAbstractHandlerMethodMapping. 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 RequestMappingInfoRequestMappingInfoHandlerMapping. 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 voidAbstractHandlerMethodMapping. handleMatch(T mapping, HandlerMethod handlerMethod, ServerWebExchange exchange)Invoked when a matching mapping is found.protected voidRequestMappingInfoHandlerMapping. handleMatch(RequestMappingInfo info, HandlerMethod handlerMethod, ServerWebExchange exchange)Expose URI template variables, matrix variables, and producible media types in the request.protected HandlerMethodAbstractHandlerMethodMapping. handleNoMatch(Set<T> mappings, ServerWebExchange exchange)Invoked when no matching mapping is not found.protected HandlerMethodRequestMappingInfoHandlerMapping. handleNoMatch(Set<RequestMappingInfo> infos, ServerWebExchange exchange)Iterate all RequestMappingInfos once again, look if any match by URL at least and raise exceptions accordingly.reactor.core.publisher.Mono<HandlerResult>InvocableHandlerMethod. invoke(ServerWebExchange exchange, BindingContext bindingContext, Object... providedArgs)Invoke the method for the given exchange.HandlerResultSyncInvocableHandlerMethod. invokeForHandlerResult(ServerWebExchange exchange, BindingContext bindingContext, Object... providedArgs)Invoke the method for the given exchange.protected HandlerMethodAbstractHandlerMethodMapping. lookupHandlerMethod(ServerWebExchange exchange)Look up the best-matching handler method for the current request.reactor.core.publisher.Mono<Object>HandlerMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)Resolve the value for the method parameter.default reactor.core.publisher.Mono<Object>SyncHandlerMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)Resolve the value for the method parameter.ObjectSyncHandlerMethodArgumentResolver. resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)Resolve the value for the method parameter synchronously.Uses of ServerWebExchange in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation with parameters of type ServerWebExchange Modifier and Type Method Description protected reactor.core.publisher.Mono<Void>ModelAttributeMethodArgumentResolver. bindRequestParameters(WebExchangeDataBinder binder, ServerWebExchange exchange)Extension point to bind the request to the target object.reactor.core.publisher.Mono<HandlerResult>RequestMappingHandlerAdapter. handle(ServerWebExchange exchange, Object handler)protected voidAbstractNamedValueArgumentResolver. handleMissingValue(String name, MethodParameter parameter, ServerWebExchange exchange)Invoked when a named value is required, butAbstractNamedValueArgumentResolver.resolveName(String, MethodParameter, ServerWebExchange)returnednulland there is no default value.protected voidRequestParamMethodArgumentResolver. handleMissingValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected voidAbstractNamedValueArgumentResolver. handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange)Invoked after a value is resolved.protected voidPathVariableMethodArgumentResolver. handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange)reactor.core.publisher.Mono<Void>ResponseBodyResultHandler. handleResult(ServerWebExchange exchange, HandlerResult result)reactor.core.publisher.Mono<Void>ResponseEntityResultHandler. handleResult(ServerWebExchange exchange, HandlerResult result)protected reactor.core.publisher.Mono<Object>AbstractMessageReaderArgumentResolver. readBody(MethodParameter bodyParameter, boolean isBodyRequired, BindingContext bindingContext, ServerWebExchange exchange)Read the body from a method argument withHttpMessageReader.protected reactor.core.publisher.Mono<Object>AbstractMessageReaderArgumentResolver. readBody(MethodParameter bodyParam, MethodParameter actualParam, boolean isBodyRequired, BindingContext bindingContext, ServerWebExchange exchange)Read the body from a method argument withHttpMessageReader.reactor.core.publisher.Mono<Object>AbstractNamedValueArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>AbstractNamedValueSyncArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>ContinuationHandlerMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>ErrorsMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>HttpEntityMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>ModelAttributeMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>PrincipalMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>RequestBodyMethodArgumentResolver. resolveArgument(MethodParameter param, BindingContext bindingContext, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>RequestPartMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)reactor.core.publisher.Mono<Object>WebSessionMethodArgumentResolver. resolveArgument(MethodParameter parameter, BindingContext context, ServerWebExchange exchange)ObjectAbstractNamedValueSyncArgumentResolver. resolveArgumentValue(MethodParameter parameter, BindingContext context, ServerWebExchange exchange)ObjectMatrixVariableMapMethodArgumentResolver. resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)ObjectModelMethodArgumentResolver. resolveArgumentValue(MethodParameter parameter, BindingContext context, ServerWebExchange exchange)ObjectPathVariableMapMethodArgumentResolver. resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)ObjectRequestHeaderMapMethodArgumentResolver. resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)ObjectRequestParamMapMethodArgumentResolver. resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)ObjectServerWebExchangeMethodArgumentResolver. resolveArgumentValue(MethodParameter methodParameter, BindingContext context, ServerWebExchange exchange)ObjectSessionStatusMethodArgumentResolver. resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange)protected abstract reactor.core.publisher.Mono<Object>AbstractNamedValueArgumentResolver. resolveName(String name, MethodParameter parameter, ServerWebExchange exchange)Resolve the given parameter type and value name into an argument value.protected reactor.core.publisher.Mono<Object>AbstractNamedValueSyncArgumentResolver. resolveName(String name, MethodParameter param, ServerWebExchange exchange)protected reactor.core.publisher.Mono<Object>SessionAttributeMethodArgumentResolver. resolveName(String name, MethodParameter parameter, ServerWebExchange exchange)protected abstract ObjectAbstractNamedValueSyncArgumentResolver. resolveNamedValue(String name, MethodParameter param, ServerWebExchange exchange)Actually resolve the value synchronously.protected ObjectCookieValueMethodArgumentResolver. resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected ObjectExpressionValueMethodArgumentResolver. resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected ObjectMatrixVariableMethodArgumentResolver. resolveNamedValue(String name, MethodParameter param, ServerWebExchange exchange)protected ObjectPathVariableMethodArgumentResolver. resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected ObjectRequestAttributeMethodArgumentResolver. resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected ObjectRequestHeaderMethodArgumentResolver. resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected ObjectRequestParamMethodArgumentResolver. resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange)protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler. writeBody(Object body, MethodParameter bodyParameter, MethodParameter actualParam, ServerWebExchange exchange)Write a given body to the response withHttpMessageWriter.protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler. writeBody(Object body, MethodParameter bodyParameter, ServerWebExchange exchange)Write a given body to the response withHttpMessageWriter.Uses of ServerWebExchange in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view that return ServerWebExchange Modifier and Type Method Description protected ServerWebExchangeRequestContext. getExchange()Methods in org.springframework.web.reactive.result.view with parameters of type ServerWebExchange Modifier and Type Method Description protected RequestContextAbstractView. createRequestContext(ServerWebExchange exchange, Map<String,Object> model)Create aRequestContextto expose under the specified attribute name.protected StringRedirectView. createTargetUrl(Map<String,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 configuredRequestDataValueProcessor.Map<String,String>RequestDataValueProcessor. getExtraHiddenFields(ServerWebExchange exchange)Invoked after all form fields have been rendered.protected reactor.core.publisher.Mono<Map<String,Object>>AbstractView. getModelAttributes(Map<String,?> model, ServerWebExchange exchange)Prepare the model to use for rendering.reactor.core.publisher.Mono<Void>ViewResolutionResultHandler. handleResult(ServerWebExchange exchange, HandlerResult result)StringRequestDataValueProcessor. processAction(ServerWebExchange exchange, String action, String httpMethod)Invoked when a new form action is rendered.StringRequestDataValueProcessor. processFormFieldValue(ServerWebExchange exchange, String name, String value, String type)Invoked when a form field value is rendered.StringRequestDataValueProcessor. processUrl(ServerWebExchange exchange, String url)Invoked when a URL is about to be rendered or redirected to.reactor.core.publisher.Mono<Void>AbstractView. render(Map<String,?> model, MediaType contentType, ServerWebExchange exchange)Prepare the model to render.reactor.core.publisher.Mono<Void>HttpMessageWriterView. render(Map<String,?> model, MediaType contentType, ServerWebExchange exchange)reactor.core.publisher.Mono<Void>View. render(Map<String,?> model, MediaType contentType, ServerWebExchange exchange)Render the view based on the givenHandlerResult.protected abstract reactor.core.publisher.Mono<Void>AbstractView. renderInternal(Map<String,Object> renderAttributes, MediaType contentType, ServerWebExchange exchange)Subclasses must implement this method to actually render the view.protected reactor.core.publisher.Mono<Void>RedirectView. renderInternal(Map<String,Object> model, MediaType contentType, ServerWebExchange exchange)Convert model to request parameters and redirect to the given URL.protected reactor.core.publisher.Mono<Void>AbstractView. resolveAsyncAttributes(Map<String,Object> model, ServerWebExchange exchange)Use the configuredReactiveAdapterRegistryto adapt asynchronous attributes toMono<T>orMono<List<T>>and then wait to resolve them into actual values.protected reactor.core.publisher.Mono<Void>RedirectView. sendRedirect(String targetUrl, ServerWebExchange exchange)Send a redirect back to the HTTP client.Constructors in org.springframework.web.reactive.result.view with parameters of type ServerWebExchange Constructor Description RequestContext(ServerWebExchange exchange, Map<String,Object> model, MessageSource messageSource)RequestContext(ServerWebExchange exchange, Map<String,Object> model, MessageSource messageSource, RequestDataValueProcessor dataValueProcessor)Uses of ServerWebExchange in org.springframework.web.reactive.result.view.freemarker
Methods in org.springframework.web.reactive.result.view.freemarker with parameters of type ServerWebExchange Modifier and Type Method Description protected reactor.core.publisher.Mono<Map<String,Object>>FreeMarkerView. getModelAttributes(Map<String,?> model, ServerWebExchange exchange)Prepare the model to use for rendering by potentially exposing aRequestContextfor use in Spring FreeMarker macros and then delegating to the inherited implementation of this method.protected freemarker.template.SimpleHashFreeMarkerView. getTemplateModel(Map<String,Object> model, ServerWebExchange exchange)Build a FreeMarker template model for the given model map.protected reactor.core.publisher.Mono<Void>FreeMarkerView. renderInternal(Map<String,Object> renderAttributes, MediaType contentType, ServerWebExchange exchange)Uses of ServerWebExchange in org.springframework.web.reactive.result.view.script
Methods in org.springframework.web.reactive.result.view.script with parameters of type ServerWebExchange Modifier and Type Method Description protected reactor.core.publisher.Mono<Void>ScriptTemplateView. renderInternal(Map<String,Object> model, MediaType contentType, ServerWebExchange exchange)Uses of ServerWebExchange in org.springframework.web.reactive.socket.server
Methods in org.springframework.web.reactive.socket.server with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>WebSocketService. handleRequest(ServerWebExchange exchange, WebSocketHandler webSocketHandler)Handle the request with the givenWebSocketHandler.default reactor.core.publisher.Mono<Void>RequestUpgradeStrategy. upgrade(ServerWebExchange exchange, WebSocketHandler webSocketHandler, String subProtocol)Deprecated.as of 5.1 in favor ofRequestUpgradeStrategy.upgrade(ServerWebExchange, WebSocketHandler, String, Supplier)default reactor.core.publisher.Mono<Void>RequestUpgradeStrategy. upgrade(ServerWebExchange exchange, WebSocketHandler webSocketHandler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory)Upgrade to a WebSocket session and handle it with the given handler.Uses of ServerWebExchange in org.springframework.web.reactive.socket.server.support
Methods in org.springframework.web.reactive.socket.server.support with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<HandlerResult>WebSocketHandlerAdapter. handle(ServerWebExchange exchange, Object handler)reactor.core.publisher.Mono<Void>HandshakeWebSocketService. handleRequest(ServerWebExchange exchange, WebSocketHandler handler)Uses of ServerWebExchange in org.springframework.web.reactive.socket.server.upgrade
Methods in org.springframework.web.reactive.socket.server.upgrade with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>JettyRequestUpgradeStrategy. upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory)reactor.core.publisher.Mono<Void>ReactorNettyRequestUpgradeStrategy. upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory)reactor.core.publisher.Mono<Void>TomcatRequestUpgradeStrategy. upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory)reactor.core.publisher.Mono<Void>UndertowRequestUpgradeStrategy. upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory)Uses of ServerWebExchange in org.springframework.web.server
Classes in org.springframework.web.server that implement ServerWebExchange Modifier and Type Class Description classServerWebExchangeDecoratorA convenient base class for classes that need to wrap anotherServerWebExchange.Methods in org.springframework.web.server that return ServerWebExchange Modifier and Type Method Description ServerWebExchangeServerWebExchange.Builder. build()Build aServerWebExchangedecorator with the mutated properties.ServerWebExchangeServerWebExchangeDecorator. getDelegate()Methods in org.springframework.web.server with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>WebFilter. filter(ServerWebExchange exchange, WebFilterChain chain)Process the Web request and (optionally) delegate to the nextWebFilterthrough the givenWebFilterChain.reactor.core.publisher.Mono<Void>WebFilterChain. filter(ServerWebExchange exchange)Delegate to the nextWebFilterin the chain.reactor.core.publisher.Mono<Void>WebExceptionHandler. handle(ServerWebExchange exchange, Throwable ex)Handle the given exception.reactor.core.publisher.Mono<Void>WebHandler. handle(ServerWebExchange exchange)Handle the web server exchange.Constructors in org.springframework.web.server with parameters of type ServerWebExchange Constructor Description ServerWebExchangeDecorator(ServerWebExchange delegate)Uses of ServerWebExchange in org.springframework.web.server.adapter
Classes in org.springframework.web.server.adapter that implement ServerWebExchange Modifier and Type Class Description classDefaultServerWebExchangeDefault implementation ofServerWebExchange.Methods in org.springframework.web.server.adapter that return ServerWebExchange Modifier and Type Method Description protected ServerWebExchangeHttpWebHandlerAdapter. createExchange(ServerHttpRequest request, ServerHttpResponse response)Uses of ServerWebExchange in org.springframework.web.server.handler
Methods in org.springframework.web.server.handler with parameters of type ServerWebExchange Modifier and Type Method Description reactor.core.publisher.Mono<Void>DefaultWebFilterChain. filter(ServerWebExchange exchange)reactor.core.publisher.Mono<Void>ExceptionHandlingWebHandler. handle(ServerWebExchange exchange)reactor.core.publisher.Mono<Void>FilteringWebHandler. handle(ServerWebExchange exchange)reactor.core.publisher.Mono<Void>ResponseStatusExceptionHandler. handle(ServerWebExchange exchange, Throwable ex)reactor.core.publisher.Mono<Void>WebHandlerDecorator. handle(ServerWebExchange exchange)Uses of ServerWebExchange in org.springframework.web.server.i18n
Methods in org.springframework.web.server.i18n with parameters of type ServerWebExchange Modifier and Type Method Description LocaleContextAcceptHeaderLocaleContextResolver. resolveLocaleContext(ServerWebExchange exchange)LocaleContextFixedLocaleContextResolver. resolveLocaleContext(ServerWebExchange exchange)LocaleContextLocaleContextResolver. resolveLocaleContext(ServerWebExchange exchange)Resolve the current locale context via the given exchange.voidAcceptHeaderLocaleContextResolver. setLocaleContext(ServerWebExchange exchange, LocaleContext locale)voidFixedLocaleContextResolver. setLocaleContext(ServerWebExchange exchange, LocaleContext localeContext)voidLocaleContextResolver. setLocaleContext(ServerWebExchange exchange, LocaleContext localeContext)Set the current locale context to the given one, potentially including a locale with associated time zone information.Uses of ServerWebExchange in org.springframework.web.server.session
Methods in org.springframework.web.server.session with parameters of type ServerWebExchange Modifier and Type Method Description voidCookieWebSessionIdResolver. expireSession(ServerWebExchange exchange)voidHeaderWebSessionIdResolver. expireSession(ServerWebExchange exchange)voidWebSessionIdResolver. expireSession(ServerWebExchange exchange)Instruct the client to end the current session.reactor.core.publisher.Mono<WebSession>DefaultWebSessionManager. getSession(ServerWebExchange exchange)reactor.core.publisher.Mono<WebSession>WebSessionManager. getSession(ServerWebExchange exchange)Return theWebSessionfor the given exchange.List<String>CookieWebSessionIdResolver. resolveSessionIds(ServerWebExchange exchange)List<String>HeaderWebSessionIdResolver. resolveSessionIds(ServerWebExchange exchange)List<String>WebSessionIdResolver. resolveSessionIds(ServerWebExchange exchange)Resolve the session id's associated with the request.voidCookieWebSessionIdResolver. setSessionId(ServerWebExchange exchange, String id)voidHeaderWebSessionIdResolver. setSessionId(ServerWebExchange exchange, String id)voidWebSessionIdResolver. setSessionId(ServerWebExchange exchange, String sessionId)Send the given session id to the client.