error("Error in recommendation calculation: {}", e.getMessage()); } } Example 14Source File: FormHttpMessageConverter.java From lams with GNU General Public License v2.0 5 votes private boolean isMultipart(MultiValueMap<String, ?> map, MediaType contentType) { if (contentType != null) {...
GET, URI.create("http://example.com")); Mono<Void> result = inserter.insert(request, this.context); StepVerifier.create(result).expectComplete().verify(); StepVerifier.create(DataBufferUtils.join(request.getBody())) .consumeNextWith(dataBuffer -> { byte[] resultBytes = new byte[dataBuffer...
Example 3Source File: AbstractFlashMapManager.java From spring4-understanding with Apache License 2.0 6 votes /** * Whether the given FlashMap matches the current request. * Uses the expected request path and query parameters saved in the FlashMap. */ protected boolean isFlashMapForRequest(...
Example 2Source File: MatrixVariableMapMethodArgumentResolver.java From spring-analysis-note with MIT License 5 votes @Nullable @Override public Object resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) { Map<String, MultiValueMap<String, String>> ...