language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
ee9c5833f51d2c70a2f36e3d6252ce8af2b2ae88.json
Update our tests to use TestSubscriber
spring-web-reactive/src/test/java/org/springframework/core/codec/support/Jaxb2DecoderTests.java
@@ -16,18 +16,15 @@ package org.springframework.core.codec.support; -import java.util.List; -import java.util.stream.StreamSupport; - import org.junit.Test; import reactor.core.publisher.Flux; import org.springframework.core.ResolvableType; import org.springframework.core.io.buffer.DataBuffer; import org.sp...
true
Other
spring-projects
spring-framework
ee9c5833f51d2c70a2f36e3d6252ce8af2b2ae88.json
Update our tests to use TestSubscriber
spring-web-reactive/src/test/java/org/springframework/core/codec/support/Jaxb2EncoderTests.java
@@ -17,17 +17,15 @@ package org.springframework.core.codec.support; import java.nio.charset.StandardCharsets; -import java.util.List; -import java.util.stream.StreamSupport; import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Flux; import org.springframework.http.MediaType; -impo...
true
Other
spring-projects
spring-framework
ee9c5833f51d2c70a2f36e3d6252ce8af2b2ae88.json
Update our tests to use TestSubscriber
spring-web-reactive/src/test/java/org/springframework/core/codec/support/JsonObjectDecoderTests.java
@@ -17,16 +17,13 @@ package org.springframework.core.codec.support; import java.nio.charset.StandardCharsets; -import java.util.List; -import java.util.stream.StreamSupport; import org.junit.Test; import reactor.core.publisher.Flux; import org.springframework.core.io.buffer.DataBuffer; -import static java....
true
Other
spring-projects
spring-framework
ee9c5833f51d2c70a2f36e3d6252ce8af2b2ae88.json
Update our tests to use TestSubscriber
spring-web-reactive/src/test/java/org/springframework/core/codec/support/JsonObjectEncoderTests.java
@@ -25,7 +25,7 @@ import org.springframework.core.io.buffer.DataBuffer; -import static org.junit.Assert.assertEquals; +import reactor.core.test.TestSubscriber; /** * @author Sebastien Deleuze @@ -43,58 +43,65 @@ public void createEncoder() { public void encodeSingleElementFlux() throws InterruptedException ...
true
Other
spring-projects
spring-framework
ee9c5833f51d2c70a2f36e3d6252ce8af2b2ae88.json
Update our tests to use TestSubscriber
spring-web-reactive/src/test/java/org/springframework/core/codec/support/StringDecoderTests.java
@@ -16,21 +16,18 @@ package org.springframework.core.codec.support; -import java.util.List; -import java.util.stream.StreamSupport; - import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import reactor.core.converter.RxJava1SingleConverter; +i...
true
Other
spring-projects
spring-framework
ee9c5833f51d2c70a2f36e3d6252ce8af2b2ae88.json
Update our tests to use TestSubscriber
spring-web-reactive/src/test/java/org/springframework/core/codec/support/StringEncoderTests.java
@@ -17,8 +17,6 @@ package org.springframework.core.codec.support; import java.nio.charset.StandardCharsets; -import java.util.List; -import java.util.stream.StreamSupport; import org.junit.Before; import org.junit.Test; @@ -29,8 +27,8 @@ import org.springframework.core.ResolvableType; import org.springframewo...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/core/codec/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/core/codec/support/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/core/convert/support/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/http/client/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/http/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/http/server/reactive/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/web/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b9f4698b695122e32cbbc7f9247de19d303ba741.json
Remove license from package infos
spring-web-reactive/src/main/java/org/springframework/web/server/package-info.java
@@ -1,19 +1,3 @@ -/* - * Copyright 2002-2016 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/DispatcherHandler.java
@@ -33,7 +33,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; import org.springframework.http.server.reactive.ServerHttpRequest; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebE...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/HandlerAdapter.java
@@ -20,7 +20,7 @@ import reactor.core.publisher.Mono; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Contract that decouples the {@link DispatcherHandler} from the details of @@ -58,6 +58,6 @@ public interface HandlerAdapter { * @re...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/HandlerMapping.java
@@ -18,7 +18,7 @@ import reactor.core.publisher.Mono; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Interface to be implemented by objects that define a mapping between @@ -35,6 +35,6 @@ public interface HandlerMapping { * @return ...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/HandlerResultHandler.java
@@ -18,7 +18,7 @@ import reactor.core.publisher.Mono; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Process the {@link HandlerResult}, usually returned by an {@link HandlerAdapter}. @@ -44,6 +44,6 @@ public interface HandlerResultHand...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/ResponseStatusExceptionHandler.java
@@ -19,7 +19,7 @@ import org.springframework.web.ResponseStatusException; import org.springframework.web.server.WebExceptionHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Handle {@link ResponseStatusException} by setting the re...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/handler/HttpHandlerHandlerAdapter.java
@@ -24,7 +24,7 @@ import org.springframework.web.reactive.HandlerAdapter; import org.springframework.web.reactive.HandlerResult; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Support use...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/handler/SimpleHandlerResultHandler.java
@@ -25,7 +25,7 @@ import org.springframework.util.Assert; import org.springframework.web.reactive.HandlerResult; import org.springframework.web.reactive.HandlerResultHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Supports {@link...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/handler/SimpleUrlHandlerMapping.java
@@ -23,7 +23,7 @@ import reactor.core.publisher.Mono; import org.springframework.web.reactive.HandlerMapping; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * @author Rossen Stoyanchev @@ -42,7 +42,7 @@ public void setHandlers(Map<String,...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/HandlerMethodArgumentResolver.java
@@ -19,7 +19,7 @@ import reactor.core.publisher.Mono; import org.springframework.core.MethodParameter; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** @@ -35,6 +35,6 @@ public interface HandlerMethodArgumentResolver { * does not resolve...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/InvocableHandlerMethod.java
@@ -36,7 +36,7 @@ import org.springframework.util.ReflectionUtils; import org.springframework.web.method.HandlerMethod; import org.springframework.web.reactive.HandlerResult; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** @@ -82,7 +82,7 @@...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/annotation/RequestBodyArgumentResolver.java
@@ -31,7 +31,7 @@ import org.springframework.util.Assert; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.reactive.method.HandlerMethodArgumentResolver; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /*...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/annotation/RequestMappingHandlerAdapter.java
@@ -45,7 +45,7 @@ import org.springframework.web.reactive.HandlerResult; import org.springframework.web.reactive.method.HandlerMethodArgumentResolver; import org.springframework.web.reactive.method.InvocableHandlerMethod; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.serve...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/annotation/RequestMappingHandlerMapping.java
@@ -41,7 +41,7 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.method.HandlerMethodSelector; import org.springframework.web.reactive.HandlerMapping; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** @@ -...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/annotation/RequestParamArgumentResolver.java
@@ -21,7 +21,7 @@ import org.springframework.core.MethodParameter; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.reactive.method.HandlerMethodArgumentResolver; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExcha...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/reactive/method/annotation/ResponseBodyResultHandler.java
@@ -45,7 +45,7 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.reactive.HandlerResult; import org.springframework.web.reactive.HandlerResultHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** @@ -...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/ServerWebExchange.java
@@ -29,7 +29,7 @@ * * @author Rossen Stoyanchev */ -public interface WebServerExchange { +public interface ServerWebExchange { /** * Return the current HTTP request. @@ -47,7 +47,12 @@ public interface WebServerExchange { Map<String, Object> getAttributes(); /** - * + * Return the web session for t...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/WebExceptionHandler.java
@@ -33,6 +33,6 @@ public interface WebExceptionHandler { * @param ex the exception to handle * @return {@code Mono<Void>} to indicate when exception handling is complete */ - Mono<Void> handle(WebServerExchange exchange, Throwable ex); + Mono<Void> handle(ServerWebExchange exchange, Throwable ex); }
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/WebFilter.java
@@ -35,6 +35,6 @@ public interface WebFilter { * @param chain provides a way to delegate to the next filter * @return {@code Mono<Void>} to indicate when request processing is complete */ - Mono<Void> filter(WebServerExchange exchange, WebFilterChain chain); + Mono<Void> filter(ServerWebExchange exchange, WebF...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/WebFilterChain.java
@@ -30,6 +30,6 @@ public interface WebFilterChain { * @param exchange the current server exchange * @return {@code Mono<Void>} to indicate when request handling is complete */ - Mono<Void> filter(WebServerExchange exchange); + Mono<Void> filter(ServerWebExchange exchange); }
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/WebHandler.java
@@ -18,19 +18,19 @@ import reactor.core.publisher.Mono; -import org.springframework.web.server.adapter.WebToHttpHandlerAdapter; -import org.springframework.web.server.adapter.WebToHttpHandlerBuilder; +import org.springframework.web.server.adapter.WebHttpHandlerAdapter; +import org.springframework.web.server.adapte...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/adapter/DefaultServerWebExchange.java
@@ -25,16 +25,16 @@ import org.springframework.http.server.reactive.ServerHttpRequest; import org.springframework.http.server.reactive.ServerHttpResponse; import org.springframework.util.Assert; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; impor...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/adapter/WebHttpHandlerAdapter.java
@@ -26,32 +26,37 @@ import org.springframework.util.Assert; import org.springframework.web.server.WebHandler; import org.springframework.web.server.handler.WebHandlerDecorator; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; import org.springframew...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/adapter/WebHttpHandlerBuilder.java
@@ -0,0 +1,158 @@ +/* + * Copyright 2002-2015 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/adapter/WebToHttpHandlerBuilder.java
@@ -1,102 +0,0 @@ -/* - * Copyright 2002-2015 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/handler/ExceptionHandlingWebHandler.java
@@ -26,11 +26,11 @@ import org.springframework.http.HttpStatus; import org.springframework.web.server.WebExceptionHandler; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** - * {@code WebHandler...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/handler/FilteringWebHandler.java
@@ -24,10 +24,11 @@ import org.springframework.web.server.WebFilter; import org.springframework.web.server.WebFilterChain; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** - * {@code WebHandler...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/handler/WebHandlerDecorator.java
@@ -19,10 +19,10 @@ import org.springframework.util.Assert; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** - * Base class for a {@link WebHandler} that decorates and delegates to another. + ...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/session/CookieWebSessionIdResolver.java
@@ -25,7 +25,7 @@ import org.springframework.util.Assert; import org.springframework.util.CollectionUtils; import org.springframework.util.StringUtils; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; /** * Cookie-based {@link WebSessionIdResolv...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/session/DefaultWebSessionManager.java
@@ -23,7 +23,7 @@ import reactor.core.publisher.Mono; import org.springframework.util.Assert; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; import org.springframework.web.server.WebSession; @@ -97,7 +97,7 @@ public Clock getClock() { @...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/session/WebSessionIdResolver.java
@@ -17,8 +17,7 @@ import java.util.Optional; -import org.springframework.web.server.WebServerExchange; -import org.springframework.web.server.WebSession; +import org.springframework.web.server.ServerWebExchange; /** @@ -36,14 +35,14 @@ public interface WebSessionIdResolver { * @param exchange the current e...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/main/java/org/springframework/web/server/session/WebSessionManager.java
@@ -17,7 +17,7 @@ import reactor.core.publisher.Mono; -import org.springframework.web.server.WebServerExchange; +import org.springframework.web.server.ServerWebExchange; import org.springframework.web.server.WebSession; /** @@ -43,6 +43,6 @@ public interface WebSessionManager { * @param exchange the current...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/reactive/DispatcherHandlerErrorTests.java
@@ -49,14 +49,14 @@ import org.springframework.web.reactive.method.annotation.RequestMappingHandlerAdapter; import org.springframework.web.reactive.method.annotation.RequestMappingHandlerMapping; import org.springframework.web.reactive.method.annotation.ResponseBodyResultHandler; -import org.springframework.web.serv...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/reactive/ResponseStatusExceptionHandlerTests.java
@@ -29,8 +29,8 @@ import org.springframework.http.server.reactive.MockServerHttpRequest; import org.springframework.http.server.reactive.MockServerHttpResponse; import org.springframework.web.ResponseStatusException; -import org.springframework.web.server.adapter.DefaultWebServerExchange; -import org.springframework...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/reactive/handler/SimpleUrlHandlerMappingIntegrationTests.java
@@ -39,8 +39,8 @@ import org.springframework.web.reactive.DispatcherHandler; import org.springframework.web.reactive.ResponseStatusExceptionHandler; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; -import org.springframework.web.server.adapter.WebToHttpHand...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/reactive/method/InvocableHandlerMethodTests.java
@@ -35,8 +35,8 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.reactive.HandlerResult; import org.springframework.web.reactive.method.annotation.RequestParamArgumentResolver; -import org.springframework.web.server.adapter.DefaultWebServerExchange; -import org.springframework.we...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/reactive/method/annotation/RequestMappingHandlerMappingTests.java
@@ -34,8 +34,8 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.method.HandlerMethod; -import org.springframework.web.server.adapter.DefaultWebServerExchange; -import org.springframework.web.server.WebServer...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/reactive/method/annotation/RequestMappingIntegrationTests.java
@@ -64,7 +64,7 @@ import org.springframework.web.client.RestTemplate; import org.springframework.web.reactive.DispatcherHandler; import org.springframework.web.reactive.handler.SimpleHandlerResultHandler; -import org.springframework.web.server.adapter.WebToHttpHandlerBuilder; +import org.springframework.web.server.a...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/server/handler/ExceptionHandlingHttpHandlerTests.java
@@ -28,9 +28,8 @@ import org.springframework.http.server.reactive.MockServerHttpResponse; import org.springframework.web.server.WebExceptionHandler; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; -import org.springframework.web.server.handler.ExceptionHand...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/server/handler/FilteringWebHandlerTests.java
@@ -33,8 +33,8 @@ import org.springframework.web.server.WebFilter; import org.springframework.web.server.WebFilterChain; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; -import org.springframework.web.server.adapter.WebToHttpHandlerBuilder; +import org.spri...
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/server/session/DefaultWebSessionManagerTests.java
@@ -27,8 +27,8 @@ import org.springframework.http.HttpMethod; import org.springframework.http.server.reactive.MockServerHttpRequest; import org.springframework.http.server.reactive.MockServerHttpResponse; -import org.springframework.web.server.adapter.DefaultWebServerExchange; -import org.springframework.web.server....
true
Other
spring-projects
spring-framework
381855aaf315adfd44e22797bbf14f07d08155d9.json
Refine names in web.server and polish Javadoc WebServerExchange -> ServerWebExchange Follows the same convention as in the http package also better allowing the possibility for a client equivalent in the future. WebToHttpHandlerBuilder -> WebHttpHandlerBuilder WebToHttpHandlerAdapter -> WebHttpHandlerAdapter More c...
spring-web-reactive/src/test/java/org/springframework/web/server/session/WebSessionIntegrationTests.java
@@ -36,8 +36,8 @@ import org.springframework.util.StringUtils; import org.springframework.web.client.RestTemplate; import org.springframework.web.server.WebHandler; -import org.springframework.web.server.WebServerExchange; -import org.springframework.web.server.adapter.WebToHttpHandlerBuilder; +import org.springfram...
true
Other
spring-projects
spring-framework
0ecede028cef22850c82045a7aca00c0b836ccab.json
Use the official SonarQube Gradle plugin Since the build has been upgraded to Gradle 2.10, it's showing the following message: "The 'sonar-runner' plugin has been deprecated and is scheduled to be removed in Gradle 3.0. please use the official plugin from SonarQube" This commit makes use of the "org.sonarqube" Gradle...
build.gradle
@@ -10,6 +10,10 @@ buildscript { } } +plugins { + id "org.sonarqube" version "1.1" +} + ext { linkHomepage = 'https://projects.spring.io/spring-framework' linkCi = 'https://build.spring.io/browse/SPR' @@ -218,11 +222,11 @@ configure(subprojects - project(":spring-build-src")) { subproject -> } dependenc...
false
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestAttribute.java
@@ -0,0 +1,66 @@ +/* + * Copyright 2002-2015 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
@@ -130,6 +130,8 @@ * to existing, permanent session attributes (e.g. user authentication object) * as opposed to model attributes temporarily stored in the session as part of * a controller workflow via {@link SessionAttributes}. + * <li>{@link RequestAttribute @RequestAttribute} annotated parameters for access ...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-web/src/main/java/org/springframework/web/bind/annotation/SessionAttribute.java
@@ -42,6 +42,7 @@ * @since 4.3 * @see RequestMapping * @see SessionAttributes + * @see RequestAttribute */ @Target(ElementType.PARAMETER) @Retention(RetentionPolicy.RUNTIME)
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
@@ -292,6 +292,7 @@ protected List<HandlerMethodArgumentResolver> getDefaultArgumentResolvers() { // Annotation-based argument resolution resolvers.add(new SessionAttributeMethodArgumentResolver()); + resolvers.add(new RequestAttributeMethodArgumentResolver()); // Type-based argument resolution resolve...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestAttributeMethodArgumentResolver.java
@@ -0,0 +1,60 @@ +/* + * Copyright 2002-2016 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java
@@ -601,6 +601,7 @@ private List<HandlerMethodArgumentResolver> getDefaultArgumentResolvers() { resolvers.add(new ServletCookieValueMethodArgumentResolver(getBeanFactory())); resolvers.add(new ExpressionValueMethodArgumentResolver(getBeanFactory())); resolvers.add(new SessionAttributeMethodArgumentResolver());...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/AbstractRequestAttributesArgumentResolverTests.java
@@ -0,0 +1,185 @@ +/* + * Copyright 2002-2016 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestAttributeMethodArgumentResolverTests.java
@@ -0,0 +1,45 @@ +/* + * Copyright 2002-2016 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapterIntegrationTests.java
@@ -62,6 +62,7 @@ import org.springframework.web.bind.annotation.InitBinder; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestAttribute; import org.springframework.web.bind.annotation.Re...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/SessionAttributeMethodArgumentResolverTests.java
@@ -15,154 +15,31 @@ */ package org.springframework.web.servlet.mvc.method.annotation; -import java.lang.reflect.Method; -import java.util.Optional; - -import org.junit.Before; -import org.junit.Test; - -import org.springframework.core.DefaultParameterNameDiscoverer; -import org.springframework.core.GenericTypeRes...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
src/asciidoc/web-mvc.adoc
@@ -1254,6 +1254,7 @@ multiple requests are allowed to access a session concurrently. session attributes (e.g. user authentication object) as opposed to model attributes temporarily stored in the session as part of a controller workflow via `@SessionAttributes`. +* `@RequestAttribute` annotated parameters for ...
true
Other
spring-projects
spring-framework
e62ada898be1180bc13824ad5c3056d42015db04.json
Add @RequestAttribute with servlet-based support Issue: SPR-13894
src/asciidoc/whats-new.adoc
@@ -665,6 +665,7 @@ Spring 4.3 also improves the caching abstraction as follows: * New `@RestControllerAdvice` annotation with combined `@ControllerAdvice` with `@ResponseBody` semantics. * `@ResponseStatus` supported on the class level and inherited on all methods. * New `@SessionAttribute` annotation for access to...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -126,6 +126,10 @@ * {@link org.springframe...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-web/src/main/java/org/springframework/web/bind/annotation/SessionAttribute.java
@@ -0,0 +1,73 @@ +/* + * Copyright 2002-2015 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -290,6 +290,9 @@ public Map<ControllerAdvice...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java
@@ -600,6 +600,7 @@ private List<HandlerMethodArgumentResolver> getDefaultArgumentResolvers() { resolvers.add(new RequestHeaderMapMethodArgumentResolver()); resolvers.add(new ServletCookieValueMethodArgumentResolver(getBeanFactory())); resolvers.add(new ExpressionValueMethodArgumentResolver(getBeanFactory()));...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SessionAttributeMethodArgumentResolver.java
@@ -0,0 +1,60 @@ +/* + * Copyright 2002-2016 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapterIntegrationTests.java
@@ -68,6 +68,7 @@ import org.springframework.web.bind.annotation.RequestPart; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; +import org.springframework.web.bind.annotation.SessionAttribute; import org.springframework.web.bind.annotation.S...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/SessionAttributeMethodArgumentResolverTests.java
@@ -0,0 +1,168 @@ +/* + * Copyright 2002-2016 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
src/asciidoc/web-mvc.adoc
@@ -1250,6 +1250,10 @@ multiple requests are allowed to access a session concurrently. * `@RequestPart` annotated parameters for access to the content of a "multipart/form-data" request part. See <<mvc-multipart-forms-non-browsers>> and <<mvc-multipart>>. +* `@SessionAttribute` annotated parameters for access to...
true
Other
spring-projects
spring-framework
698f923fc3178bb9a35e1cb34c388d8703e45b99.json
Add @SessionAttribute with Servlet-based support Issue: SPR-13894
src/asciidoc/whats-new.adoc
@@ -662,8 +662,9 @@ Spring 4.3 also improves the caching abstraction as follows: === Web Improvements * Built-in support for <<mvc-ann-requestmapping-head-options,HTTP HEAD and HTTP OPTIONS>>. -* New `@RestControllerAdvice` annotation combines `@ControllerAdvice` with `@ResponseBody`. -* `@ResponseStatus` can be us...
true
Other
spring-projects
spring-framework
319e8e2c2f36ea146a03eaded6a39c575431fe6f.json
Add allowHeader property to WebContentGenerator The WebContentGenerator now maintains an additional property that sub-classes can use for an "Allow" header in response to an HTTP OPTIONS request. This property is pre-initialized once at startup and does not have to rely on getSupportedMethods in addition to adding HTT...
spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java
@@ -16,7 +16,9 @@ package org.springframework.web.servlet.support; +import java.util.ArrayList; import java.util.Arrays; +import java.util.Collection; import java.util.LinkedHashSet; import java.util.Set; import java.util.concurrent.TimeUnit; @@ -25,6 +27,8 @@ import javax.servlet.http.HttpServletResponse; ...
true
Other
spring-projects
spring-framework
319e8e2c2f36ea146a03eaded6a39c575431fe6f.json
Add allowHeader property to WebContentGenerator The WebContentGenerator now maintains an additional property that sub-classes can use for an "Allow" header in response to an HTTP OPTIONS request. This property is pre-initialized once at startup and does not have to rely on getSupportedMethods in addition to adding HTT...
spring-webmvc/src/test/java/org/springframework/web/servlet/support/WebContentGeneratorTests.java
@@ -0,0 +1,76 @@ +/* + * Copyright 2002-2016 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
a730e55d92e6c194c518e1882d9f0c20f0b048a3.json
Add support for Jackson 2.7 AbstractJackson2HttpMessageConverter now implements its own TypeVariable resolution algorithm since in Jackson 2.7 it is now deprecated and has not the same behavior . See https://github.com/FasterXML/jackson-databind/issues/1087 for more details. The dependency on jackson-datatype-jdk7 ha...
build.gradle
@@ -49,7 +49,7 @@ configure(allprojects) { project -> ext.htmlunitVersion = "2.19" ext.httpasyncVersion = "4.1.1" ext.httpclientVersion = "4.5.1" - ext.jackson2Version = "2.6.4" + ext.jackson2Version = "2.7.0" ext.jasperreportsVersion = "6.2.0" ext.javamailVersion = "1.5.5" ext.je...
true
Other
spring-projects
spring-framework
a730e55d92e6c194c518e1882d9f0c20f0b048a3.json
Add support for Jackson 2.7 AbstractJackson2HttpMessageConverter now implements its own TypeVariable resolution algorithm since in Jackson 2.7 it is now deprecated and has not the same behavior . See https://github.com/FasterXML/jackson-databind/issues/1087 for more details. The dependency on jackson-datatype-jdk7 ha...
spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ import java.io.IOException...
true
Other
spring-projects
spring-framework
a730e55d92e6c194c518e1882d9f0c20f0b048a3.json
Add support for Jackson 2.7 AbstractJackson2HttpMessageConverter now implements its own TypeVariable resolution algorithm since in Jackson 2.7 it is now deprecated and has not the same behavior . See https://github.com/FasterXML/jackson-databind/issues/1087 for more details. The dependency on jackson-datatype-jdk7 ha...
spring-web/src/test/java/org/springframework/http/converter/json/SpringHandlerInstantiatorTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -218,10 +218,15 @@ public String idFromBaseT...
true
Other
spring-projects
spring-framework
2b3ad218e579591396a50363f04c097d05be3a12.json
Clarify RequestMappingHandlerAdapter javadoc This commit updates the javadoc of `RequestMappingHanderAdapter.setCacheSecondsForSessionAttributeHandlers` to explain how one can disable that feature and prevent "Cache-Control" directives from being added when `@SessionAttributes` annotations are used on Controllers. Is...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java
@@ -444,10 +444,18 @@ public void setSessionAttributeStore(SessionAttributeStore sessionAttributeStore /** * Cache content produced by {@code @SessionAttributes} annotated handlers - * for the given number of seconds. Default is 0, preventing caching completely. + * for the given number of seconds. + * <p>Pos...
false
Other
spring-projects
spring-framework
6a9455b7d0e9d8af2f3a3fd9ad832d5b25cb8f5e.json
Fix failing test
spring-test/src/main/java/org/springframework/test/web/client/match/ContentRequestMatchers.java
@@ -149,7 +149,7 @@ public void match(ClientHttpRequest request) throws IOException, AssertionError public RequestMatcher formData(final MultiValueMap<String, String> expectedContent) { return new RequestMatcher() { @Override - public void match(ClientHttpRequest request) throws IOException, AssertionError {...
false
Other
spring-projects
spring-framework
15c7dcd11ab8a2f8c2a8bd7ba0e5e70304f5ae71.json
Upgrade Caffeine to 2.0.3
build.gradle
@@ -28,7 +28,7 @@ configure(allprojects) { project -> version = qualifyVersionIfNecessary(version) ext.aspectjVersion = "1.8.7" - ext.caffeineVersion = "2.0.1" + ext.caffeineVersion = "2.0.3" ext.eclipselinkVersion = "2.4.2" ext.ehcacheVersion = "2.10.1" ext.ehcachejcacheVersion = "1...
false
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
build.gradle
@@ -28,6 +28,7 @@ configure(allprojects) { project -> version = qualifyVersionIfNecessary(version) ext.aspectjVersion = "1.8.7" + ext.caffeineVersion = "2.0.1" ext.eclipselinkVersion = "2.4.2" ext.ehcacheVersion = "2.10.1" ext.ehcachejcacheVersion = "1.0.1" @@ -647,6 +648,7 @@ project("sp...
true
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
spring-context-support/src/main/java/org/springframework/cache/caffeine/CaffeineCache.java
@@ -0,0 +1,136 @@ +/* + * Copyright 2002-2015 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
spring-context-support/src/main/java/org/springframework/cache/caffeine/CaffeineCacheManager.java
@@ -0,0 +1,206 @@ +/* + * Copyright 2002-2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
spring-context-support/src/main/java/org/springframework/cache/caffeine/package-info.java
@@ -0,0 +1,6 @@ +/** + * Support classes for the open source cache in + * <a href="https://github.com/ben-manes/caffeine/">Caffeine</a> library, + * allowing to set up Caffeine caches within Spring's cache abstraction. + */ +package org.springframework.cache.caffeine;
true
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
spring-context-support/src/test/java/org/springframework/cache/caffeine/CaffeineCacheManagerTests.java
@@ -0,0 +1,186 @@ +/* + * Copyright 2002-2015 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
spring-context-support/src/test/java/org/springframework/cache/caffeine/CaffeineCacheTests.java
@@ -0,0 +1,68 @@ +/* + * Copyright 2002-2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
13aabeef37018e9315a6b041b1b83907dc6c500f.json
Add caching support for Caffeine Issue: SPR-13690
spring-context/src/main/java/org/springframework/cache/concurrent/ConcurrentMapCacheManager.java
@@ -35,7 +35,8 @@ * <p>Note: This is by no means a sophisticated CacheManager; it comes with no * cache configuration options. However, it may be useful for testing or simple * caching scenarios. For advanced local caching needs, consider - * {@link org.springframework.cache.guava.GuavaCacheManager} or + * {@link...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
build.gradle
@@ -70,7 +70,6 @@ configure(allprojects) { project -> ext.snakeyamlVersion = "1.16" ext.snifferVersion = "1.14" ext.testngVersion = "6.9.10" - ext.tiles2Version = "2.2.2" ext.tiles3Version = "3.0.5" ext.tomcatVersion = "8.0.30" ext.tyrusVersion = "1.3.5" // con...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
settings.gradle
@@ -22,7 +22,6 @@ include "spring-tx" include "spring-web" include "spring-webmvc" include "spring-webmvc-portlet" -include "spring-webmvc-tiles2" include "spring-websocket" include "spring-framework-bom"
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/AbstractSpringPreparerFactory.java
@@ -1,66 +0,0 @@ -/* - * Copyright 2002-2012 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/SimpleSpringPreparerFactory.java
@@ -1,73 +0,0 @@ -/* - * Copyright 2002-2012 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/SpringBeanPreparerFactory.java
@@ -1,44 +0,0 @@ -/* - * Copyright 2002-2009 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/SpringLocaleResolver.java
@@ -1,62 +0,0 @@ -/* - * Copyright 2002-2009 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/SpringWildcardServletTilesApplicationContext.java
@@ -1,74 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
b75f5faf88c3be80d16abe4ecd96754989eddcd8.json
Remove Tiles 2 support Issue: SPR-13229
spring-webmvc-tiles2/src/main/java/org/springframework/web/servlet/view/tiles2/TilesConfigurer.java
@@ -1,439 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true