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 | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/config/DelegatingWebReactiveConfigurationTests.java | @@ -0,0 +1,128 @@
+package org.springframework.web.reactive.config;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Optional;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.ArgumentCaptor;
+import org.mockito.Captor;
+import org.mockito.Mock;
+import org.mockito.Mocki... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/config/WebReactiveConfigurationSupportTests.java | @@ -80,10 +80,10 @@
import static org.springframework.http.MediaType.TEXT_PLAIN;
/**
- * Unit tests for {@link WebReactiveConfiguration}.
+ * Unit tests for {@link WebReactiveConfigurationSupport}.
* @author Rossen Stoyanchev
*/
-public class WebReactiveConfigurationTests {
+public class WebReactiveConfiguratio... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/DispatcherHandlerIntegrationTests.java | @@ -43,7 +43,7 @@
import org.springframework.web.reactive.DispatcherHandler;
import org.springframework.web.reactive.HandlerAdapter;
import org.springframework.web.reactive.HandlerMapping;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reactive.config.WebRea... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java | @@ -39,7 +39,7 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reactive.config.... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java | @@ -32,7 +32,7 @@
import org.springframework.web.client.HttpClientErrorException;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.reactive.config.CorsRegistry;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reactive.config.... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/JacksonHintsIntegrationTests.java | @@ -34,7 +34,7 @@
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reactive.c... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingExceptionHandlingIntegrationTests.java | @@ -28,7 +28,7 @@
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reacti... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingIntegrationTests.java | @@ -29,7 +29,7 @@
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reactive.c... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingMessageConversionIntegrationTests.java | @@ -56,11 +56,12 @@
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.react... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingViewResolutionIntegrationTests.java | @@ -35,7 +35,7 @@
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.reactive.config.ViewResolverRegistry;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reac... | true |
Other | spring-projects | spring-framework | 3533024ab87468a9edcd95e762458e6af9516ba9.json | Add EnableWebReactive + WebReactiveConfigurer
This commit improves the existing web reactive configuration
infrastructure with the following changes:
* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Con... | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/SseIntegrationTests.java | @@ -36,7 +36,7 @@
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.reactive.WebClient;
import org.springframework.web.reactive.DispatcherHandler;
-import org.springframework.web.reactive.config.WebReactiveConfiguration;
+import org.springframework.web.reactive.conf... | true |
Other | spring-projects | spring-framework | eee742da7f618d9b7df7d32c1103445cb3c040c7.json | Remove OracleLobHandler from documentation
Now that OracleLobHandler has finally been removed it should also be
removed from the documentation.
This commit includes the following changes:
* remove OracleLobHandler references from Javadoc
* remove OracleLobHandler references from Asciidoctor
Issue: SPR-14809
Close... | spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/SimpleNativeJdbcExtractor.java | @@ -35,10 +35,6 @@
* flags to "true". If none of the statement types is wrapped - or you solely need
* Connection unwrapping in the first place -, the defaults are fine.
*
- * <p>SimpleNativeJdbcExtractor is a common choice for use with OracleLobHandler, which
- * just needs Connection unwrapping via the {@link #... | true |
Other | spring-projects | spring-framework | eee742da7f618d9b7df7d32c1103445cb3c040c7.json | Remove OracleLobHandler from documentation
Now that OracleLobHandler has finally been removed it should also be
removed from the documentation.
This commit includes the following changes:
* remove OracleLobHandler references from Javadoc
* remove OracleLobHandler references from Asciidoctor
Issue: SPR-14809
Close... | src/asciidoc/data-access.adoc | @@ -3230,7 +3230,7 @@ Sometimes you need to access vendor specific JDBC methods that differ from the s
JDBC API. This can be problematic if you are running in an application server or with a
`DataSource` that wraps the `Connection`, `Statement` and `ResultSet` objects with its
own wrapper objects. To gain access to ... | true |
Other | spring-projects | spring-framework | d4446c79b659d1230bdd8caf3f233de5c39ce127.json | Restore state field in AbstractServerHttpResponse
This commit fixes test failures introduced earlier in commit 9f8e84. | spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpResponse.java | @@ -18,6 +18,7 @@
import java.util.ArrayList;
import java.util.List;
+import java.util.concurrent.atomic.AtomicReference;
import java.util.function.Supplier;
import java.util.stream.Collectors;
@@ -46,6 +47,15 @@
*/
public abstract class AbstractServerHttpResponse implements ServerHttpResponse {
+ /**
+ *... | true |
Other | spring-projects | spring-framework | d4446c79b659d1230bdd8caf3f233de5c39ce127.json | Restore state field in AbstractServerHttpResponse
This commit fixes test failures introduced earlier in commit 9f8e84. | spring-web/src/test/java/org/springframework/http/server/reactive/ServerHttpResponseTests.java | @@ -33,7 +33,6 @@
import static junit.framework.TestCase.assertTrue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
/**
@@ -101,24 +100,6 @@ public void beforeCommitWithComplete() thro... | true |
Other | spring-projects | spring-framework | 7e9437738272a31e1d764972291de42936194ab1.json | Handle async operation events
Problem:
The following exception is observed on an async timeout:
"java.lang.IllegalStateException: It is invalid to call
isReady() when the response has not been put into non-blocking mode"
Current Implementation:
The async operation events sent by the web container are not propagated
t... | spring-web/src/main/java/org/springframework/http/server/reactive/AbstractResponseBodyFlushProcessor.java | @@ -120,7 +120,7 @@ private void writeComplete() {
}
- private void cancel() {
+ protected void cancel() {
this.subscription.cancel();
}
| true |
Other | spring-projects | spring-framework | 7e9437738272a31e1d764972291de42936194ab1.json | Handle async operation events
Problem:
The following exception is observed on an async timeout:
"java.lang.IllegalStateException: It is invalid to call
isReady() when the response has not been put into non-blocking mode"
Current Implementation:
The async operation events sent by the web container are not propagated
t... | spring-web/src/main/java/org/springframework/http/server/reactive/ServletHttpHandlerAdapter.java | @@ -18,6 +18,8 @@
import java.io.IOException;
import javax.servlet.AsyncContext;
+import javax.servlet.AsyncEvent;
+import javax.servlet.AsyncListener;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
@@ -89,6 +91,7 @@ protected void servic... | true |
Other | spring-projects | spring-framework | 7e9437738272a31e1d764972291de42936194ab1.json | Handle async operation events
Problem:
The following exception is observed on an async timeout:
"java.lang.IllegalStateException: It is invalid to call
isReady() when the response has not been put into non-blocking mode"
Current Implementation:
The async operation events sent by the web container are not propagated
t... | spring-web/src/main/java/org/springframework/http/server/reactive/ServletServerHttpRequest.java | @@ -170,6 +170,12 @@ public Flux<DataBuffer> getBody() {
}
}
+ void onError(Throwable t) {
+ if (this.bodyPublisher != null) {
+ this.bodyPublisher.onError(t);
+ }
+ }
+
private RequestBodyPublisher createBodyPublisher() throws IOException {
RequestBodyPublisher bodyPublisher = new RequestBodyPublisher(... | true |
Other | spring-projects | spring-framework | 7e9437738272a31e1d764972291de42936194ab1.json | Handle async operation events
Problem:
The following exception is observed on an async timeout:
"java.lang.IllegalStateException: It is invalid to call
isReady() when the response has not been put into non-blocking mode"
Current Implementation:
The async operation events sent by the web container are not propagated
t... | spring-web/src/main/java/org/springframework/http/server/reactive/ServletServerHttpResponse.java | @@ -54,6 +54,8 @@ public class ServletServerHttpResponse extends AbstractListenerServerHttpRespons
private volatile ResponseBodyProcessor bodyProcessor;
+ private volatile ResponseBodyFlushProcessor bodyFlushProcessor;
+
public ServletServerHttpResponse(HttpServletResponse response,
DataBufferFactory data... | true |
Other | spring-projects | spring-framework | e3ecf012f909aa636dbf19f4eb986a2e84a00441.json | Add docs on error handling in REST scenarios | src/asciidoc/web-mvc.adoc | @@ -4053,6 +4053,29 @@ response and write error content with message converters. See the
+[[mvc-ann-rest-exceptions]]
+=== REST Controller Exception Handling
+
+An `@RestController` may use `@ExceptionHandler` methods that return a
+`ResponseEntity` to provide both a response status and error details in the body
... | false |
Other | spring-projects | spring-framework | 71201e1a4310990762ed9a0a74114c3aac4905c5.json | Relax generic type detection for ResponseEntity
Before this change the getHttpEntityType method in
HttpEntityMethodProcessor raised an ISE if the generic type cannot be
detected. That made sense for resolving a controller method argument
where the target body type is crucial. However for a return value
the generic typ... | spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessor.java | @@ -121,6 +121,10 @@ public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer m
ServletServerHttpRequest inputMessage = createInputMessage(webRequest);
Type paramType = getHttpEntityType(parameter);
+ if (paramType == null) {
+ throw new IllegalArgumentException("HttpEntity parameter '"... | false |
Other | spring-projects | spring-framework | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/PrincipalArgumentResolver.java | @@ -0,0 +1,56 @@
+/*
+ * 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 | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestMappingHandlerAdapter.java | @@ -241,6 +241,7 @@ protected List<HandlerMethodArgumentResolver> getDefaultArgumentResolvers() {
resolvers.add(new HttpEntityArgumentResolver(getMessageReaders(), getReactiveAdapterRegistry()));
resolvers.add(new ModelArgumentResolver());
resolvers.add(new ServerWebExchangeArgumentResolver());
+ resolvers.ad... | true |
Other | spring-projects | spring-framework | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web-reactive/src/main/java/org/springframework/web/reactive/result/method/annotation/ServerWebExchangeArgumentResolver.java | @@ -30,15 +30,17 @@
* <ul>
* <li>{@link ServerWebExchange}
* <li>{@link ServerHttpRequest}
- * <li>{@link HttpMethod}
* <li>{@link ServerHttpResponse}
+ * <li>{@link HttpMethod}
* </ul>
*
- * <p>For the {@code WebSession} see {@link WebSessionArgumentResolver}.
+ * <p>For the {@code WebSession} see {@link W... | true |
Other | spring-projects | spring-framework | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web/src/main/java/org/springframework/web/server/DefaultServerWebExchangeMutativeBuilder.java | @@ -16,7 +16,6 @@
package org.springframework.web.server;
import java.security.Principal;
-import java.util.Optional;
import reactor.core.publisher.Mono;
@@ -40,7 +39,7 @@ class DefaultServerWebExchangeMutativeBuilder implements ServerWebExchange.Mutat
private ServerHttpResponse response;
- private Princ... | true |
Other | spring-projects | spring-framework | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web/src/main/java/org/springframework/web/server/ServerWebExchange.java | @@ -73,7 +73,7 @@ public interface ServerWebExchange {
/**
* Return the authenticated user for the request, if any.
*/
- <T extends Principal> Optional<T> getPrincipal();
+ <T extends Principal> Mono<T> getPrincipal();
/**
* Return the form data from the body of the request or an empty {@code Mono}
@@ -1... | true |
Other | spring-projects | spring-framework | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web/src/main/java/org/springframework/web/server/ServerWebExchangeDecorator.java | @@ -84,7 +84,7 @@ public Mono<WebSession> getSession() {
}
@Override
- public <T extends Principal> Optional<T> getPrincipal() {
+ public <T extends Principal> Mono<T> getPrincipal() {
return getDelegate().getPrincipal();
}
| true |
Other | spring-projects | spring-framework | 99cacaa72d075e86f458186e178348e6175bbfce.json | Improve reactive support for access to Principal
The method to access the Principal from the ServerWebExchange is now
a Mono<Principal> (rather than Optional<Principal>).
There is also support for Principal as a controller method argument.
Issue: SPR-14680, SPR-14865 | spring-web/src/main/java/org/springframework/web/server/adapter/DefaultServerWebExchange.java | @@ -135,8 +135,8 @@ public Mono<WebSession> getSession() {
}
@Override
- public <T extends Principal> Optional<T> getPrincipal() {
- return Optional.empty();
+ public <T extends Principal> Mono<T> getPrincipal() {
+ return Mono.empty();
}
@Override | true |
Other | spring-projects | spring-framework | c3f22b73646be44d29ae42e0c5dc9531a1a36b31.json | Add "mutate" builder to ServerWebExchange
This commit adds a default mutate method to ServerWebExchange which
prepares an immutable wrapper and returns the provided mutated
properties. | spring-web/src/main/java/org/springframework/web/server/DefaultServerWebExchangeMutativeBuilder.java | @@ -0,0 +1,134 @@
+/*
+ * 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 | c3f22b73646be44d29ae42e0c5dc9531a1a36b31.json | Add "mutate" builder to ServerWebExchange
This commit adds a default mutate method to ServerWebExchange which
prepares an immutable wrapper and returns the provided mutated
properties. | spring-web/src/main/java/org/springframework/web/server/ServerWebExchange.java | @@ -118,4 +118,48 @@ public interface ServerWebExchange {
*/
boolean checkNotModified(String etag, Instant lastModified);
+
+ /**
+ * Return a builder to mutate properties of this exchange. The resulting
+ * new exchange is an immutable {@link ServerWebExchangeDecorator decorator}
+ * around the current excha... | true |
Other | spring-projects | spring-framework | c3f22b73646be44d29ae42e0c5dc9531a1a36b31.json | Add "mutate" builder to ServerWebExchange
This commit adds a default mutate method to ServerWebExchange which
prepares an immutable wrapper and returns the provided mutated
properties. | spring-web/src/main/java/org/springframework/web/server/ServerWebExchangeDecorator.java | @@ -27,20 +27,26 @@
import org.springframework.util.Assert;
/**
- * Wraps another {@link ServerWebExchange} and delegates all methods to it.
- * Sub-classes can override specific methods, e.g. {@link #getPrincipal()} to
- * return the authenticated user for the request.
+ * A convenient base class for classes that ... | true |
Other | spring-projects | spring-framework | b1030eba3f6f0601413e1652f9b2151d21adc245.json | Fix JsonObjectDecoder chunks handling
Issue: SPR-14859 | spring-web/src/main/java/org/springframework/http/codec/json/JsonObjectDecoder.java | @@ -118,6 +118,7 @@ public Publisher<? extends DataBuffer> apply(DataBuffer buffer) {
this.writerIndex = this.input.writerIndex();
}
else {
+ this.index = this.index - this.input.readerIndex();
this.input = Unpooled.copiedBuffer(this.input,
Unpooled.copiedBuffer(buffer.asByteBuffer()))... | true |
Other | spring-projects | spring-framework | b1030eba3f6f0601413e1652f9b2151d21adc245.json | Fix JsonObjectDecoder chunks handling
Issue: SPR-14859 | spring-web/src/test/java/org/springframework/http/codec/json/JsonObjectDecoderTests.java | @@ -60,6 +60,7 @@ public void decodeMultipleChunksToJsonObject() throws InterruptedException {
@Test
public void decodeSingleChunkToArray() throws InterruptedException {
JsonObjectDecoder decoder = new JsonObjectDecoder();
+
Flux<DataBuffer> source = Flux.just(stringBuffer(
"[{\"foo\": \"foofoo\", \"bar\... | true |
Other | spring-projects | spring-framework | c448739b7bc0a16862f0ebdc7662aa66597b54df.json | Remove mavenLocal as a repository in Gradle build | build.gradle | @@ -170,7 +170,6 @@ configure(allprojects) { project ->
}
repositories {
- mavenLocal()
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" } // Reactor 3 snapshots | false |
Other | spring-projects | spring-framework | ffa728c23c2b9b1d5630e879680e46dc54ed9f93.json | Move NoOpCache to a top-level public class
This commit moves `NoOpCache` to a top-level public class to allow reuse
in custom CacheManager arrangement.
Issue: SPR-14856 | spring-context/src/main/java/org/springframework/cache/support/NoOpCache.java | @@ -0,0 +1,92 @@
+/*
+ * 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 | ffa728c23c2b9b1d5630e879680e46dc54ed9f93.json | Move NoOpCache to a top-level public class
This commit moves `NoOpCache` to a top-level public class to allow reuse
in custom CacheManager arrangement.
Issue: SPR-14856 | spring-context/src/main/java/org/springframework/cache/support/NoOpCacheManager.java | @@ -20,7 +20,6 @@
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
-import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
@@ -73,61 +72,4 @@ public Collection<String> getCacheNames() {
}
}
-
- priv... | true |
Other | spring-projects | spring-framework | 2980e592980e67dd41a0b2f5a079a8d82a252f87.json | Fix javadoc syntax
See gh-1203 | spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java | @@ -67,8 +67,8 @@
* 1. BeanNameAware's {@code setBeanName}<br>
* 2. BeanClassLoaderAware's {@code setBeanClassLoader}<br>
* 3. BeanFactoryAware's {@code setBeanFactory}<br>
- * 4. EnvironmentAware's {@code setEnvironment}
- * 5. EmbeddedValueResolverAware's {@code setEmbeddedValueResolver}
+ * 4. EnvironmentAware... | false |
Other | spring-projects | spring-framework | 19db0424d2dd13bfd22faa7fd39631d307ac999e.json | Clarify SpEL usage on `@EventListener`
Issue: SPR-14812 | spring-context/src/main/java/org/springframework/context/event/EventListener.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.
@@ -87,7 +87,18 @@
/**
* Spring Expression... | true |
Other | spring-projects | spring-framework | 19db0424d2dd13bfd22faa7fd39631d307ac999e.json | Clarify SpEL usage on `@EventListener`
Issue: SPR-14812 | src/asciidoc/core-beans.adoc | @@ -8281,8 +8281,8 @@ event is equal to `foo`:
[source,java,indent=0]
[subs="verbatim,quotes"]
----
- @EventListener(condition = "#event.test == 'foo'")
- public void processBlackListEvent(BlackListEvent event) {
+ @EventListener(condition = "#blEvent.test == 'foo'")
+ public void processBlackListEvent(BlackListEven... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | build.gradle | @@ -80,6 +80,7 @@ configure(allprojects) { project ->
ext.reactorNettyVersion = '0.6.0.BUILD-SNAPSHOT'
ext.romeVersion = "1.6.0"
ext.rxjavaVersion = '1.1.9'
+ ext.rxjava2Version = '2.0.0-RC1'
ext.rxnettyVersion = '0.5.2-rc.3'
ext.servletVersion = "3.1.0"
ext.sl... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java | @@ -23,8 +23,11 @@
import java.util.function.Function;
import java.util.function.Predicate;
+import io.reactivex.BackpressureStrategy;
+import io.reactivex.Flowable;
import org.reactivestreams.Publisher;
import reactor.adapter.RxJava1Adapter;
+import reactor.adapter.RxJava2Adapter;
import reactor.core.publisher.... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-core/src/test/java/org/springframework/core/convert/support/ReactiveAdapterRegistryTests.java | @@ -17,6 +17,7 @@
import java.util.concurrent.CompletableFuture;
+import io.reactivex.Flowable;
import org.junit.Before;
import org.junit.Test;
import org.reactivestreams.Publisher;
@@ -55,6 +56,10 @@ public void getDefaultAdapters() throws Exception {
testFluxAdapter(Observable.class);
testMonoAdapter(Si... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/HttpEntityArgumentResolverTests.java | @@ -23,9 +23,12 @@
import java.util.List;
import java.util.concurrent.CompletableFuture;
+import io.reactivex.BackpressureStrategy;
+import io.reactivex.Flowable;
import org.junit.Before;
import org.junit.Test;
import reactor.adapter.RxJava1Adapter;
+import reactor.adapter.RxJava2Adapter;
import reactor.core.pu... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageReaderArgumentResolverTests.java | @@ -31,6 +31,7 @@
import java.util.concurrent.CompletableFuture;
import javax.xml.bind.annotation.XmlRootElement;
+import io.reactivex.Flowable;
import org.junit.Before;
import org.junit.Test;
import reactor.core.publisher.Flux;
@@ -144,6 +145,16 @@ public void singleTestBean() throws Exception {
assertEquals... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/MessageWriterResultHandlerTests.java | @@ -29,6 +29,7 @@
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
+import io.reactivex.Flowable;
import org.junit.Before;
import org.junit.Test;
import reactor.core.publisher.Flux;
@@ -112,8 +113,11 @@ public void voidReturnType() throws Exception {
... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java | @@ -250,13 +250,17 @@ void handle(
@RequestBody Mono<String> mono,
@RequestBody Flux<String> flux,
@RequestBody Single<String> single,
+ @RequestBody io.reactivex.Single<String> rxJava2Single,
@RequestBody Observable<String> obs,
+ @RequestBody io.reactivex.Observable<String> rxjava2Obs,
@Reques... | true |
Other | spring-projects | spring-framework | 48d67a245b0d7742a6a2bf0b5e801c5e00bc91bf.json | Add support for RxJava 2
This commit adds support for RxJava 2 Completable,
Single, Observable and Flowable types (io.reactivex package).
Issue: SPR-14628 | spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingMessageConversionIntegrationTests.java | @@ -24,6 +24,7 @@
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
+import io.reactivex.Flowable;
import org.junit.Test;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
@@ -103,6 +104,18 @@ public void byteBufferResponseBodyWithObservable() t... | true |
Other | spring-projects | spring-framework | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/AbstractHttpMessageWriterResponse.java | @@ -0,0 +1,63 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/AbstractResponse.java | @@ -0,0 +1,61 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/BodyResponse.java | @@ -0,0 +1,50 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/CastingUtils.java | @@ -0,0 +1,41 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/DefaultConfiguration.java | @@ -0,0 +1,81 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/DefaultRequest.java | @@ -0,0 +1,215 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/DefaultResponseBuilder.java | @@ -0,0 +1,167 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/EmptyResponse.java | @@ -0,0 +1,51 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/FilterFunction.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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/HandlerFunction.java | @@ -0,0 +1,36 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/PublisherResponse.java | @@ -0,0 +1,53 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/Request.java | @@ -0,0 +1,206 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/RequestPredicate.java | @@ -0,0 +1,91 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/RequestPredicates.java | @@ -0,0 +1,285 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/ResourceResponse.java | @@ -0,0 +1,55 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/Response.java | @@ -0,0 +1,343 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/Router.java | @@ -0,0 +1,278 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/RoutingFunction.java | @@ -0,0 +1,86 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/ServerSentEventResponse.java | @@ -0,0 +1,81 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/package-info.java | @@ -0,0 +1,4 @@
+/**
+ * Types that make up Spring's functional web framework.
+ */
+package org.springframework.web.reactive.function;
\ No newline at end of file | true |
Other | spring-projects | spring-framework | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/support/HandlerFunctionAdapter.java | @@ -0,0 +1,69 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/support/RequestWrapper.java | @@ -0,0 +1,216 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/support/ResponseResultHandler.java | @@ -0,0 +1,46 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/main/java/org/springframework/web/reactive/function/support/package-info.java | @@ -0,0 +1,7 @@
+/**
+ * Classes supporting the {@code org.springframework.web.reactive.function} package.
+ * Contains a {@code HandlerAdapter} that supports {@code HandlerFunction}s,
+ * a {@code HandlerResultHandler} that supports {@code Response}s, and
+ * a {@code Request} wrapper to adapt a request.
+ */
+package... | true |
Other | spring-projects | spring-framework | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/AbstractRoutingFunctionIntegrationTests.java | @@ -0,0 +1,35 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/BodyResponseTests.java | @@ -0,0 +1,65 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/BodyWrapperTests.java | @@ -0,0 +1,72 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/DefaultConfigurationTests.java | @@ -0,0 +1,40 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/DefaultRequestTests.java | @@ -0,0 +1,170 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/DispatcherHandlerIntegrationTests.java | @@ -0,0 +1,209 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/Driver.java | @@ -0,0 +1,163 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/EmptyResponseTests.java | @@ -0,0 +1,71 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/HeadersWrapperTest.java | @@ -0,0 +1,120 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/MockRequest.java | @@ -0,0 +1,367 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/PublisherHandlerFunctionIntegrationTests.java | @@ -0,0 +1,141 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/PublisherResponseTests.java | @@ -0,0 +1,67 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/RequestPredicateTests.java | @@ -0,0 +1,66 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/RequestPredicatesTests.java | @@ -0,0 +1,136 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/RequestWrapperTests.java | @@ -0,0 +1,148 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/ResourceResponseTests.java | @@ -0,0 +1,58 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/ResponseTests.java | @@ -0,0 +1,147 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/RouterTests.java | @@ -0,0 +1,202 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/RoutingFunctionTests.java | @@ -0,0 +1,81 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/ServerSentEventResponseTests.java | @@ -0,0 +1,72 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/java/org/springframework/web/reactive/function/SseHandlerFunctionIntegrationTests.java | @@ -0,0 +1,180 @@
+/*
+ * 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 | f1319f58ec8a74067bc7792ca7e0977e99cc8b11.json | Introduce new functional web API
This commit introduces a new, functional web programming model in the
org.springframework.web.reactive.function package. The key types
are:
- Request and Response are new Java 8-DSLs for access to the HTTP
request and response
- HandlerFunction represents a function to handle a r... | spring-web-reactive/src/test/resources/org/springframework/web/reactive/function/response.txt | @@ -0,0 +1,2 @@
+Hello World
+This is a sample response text file. | true |
Other | spring-projects | spring-framework | e574820dc92d44cbeff18e1041e1575c8ee0ff54.json | Introduce tests for @Nested tests in JUnit Jupiter
This commit introduces integration tests that verify the expected
behavior for @Nested tests in conjunction with the SpringExtension for
JUnit Jupiter, including automatic application of
TestExecutionListeners to the enclosing test instance of a @Nested
test instance.... | spring-test/src/test/java/org/springframework/test/context/junit/jupiter/nested/NestedTestsWithSpringAndJUnitJupiterTestCase.java | @@ -0,0 +1,91 @@
+/*
+ * 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 | e574820dc92d44cbeff18e1041e1575c8ee0ff54.json | Introduce tests for @Nested tests in JUnit Jupiter
This commit introduces integration tests that verify the expected
behavior for @Nested tests in conjunction with the SpringExtension for
JUnit Jupiter, including automatic application of
TestExecutionListeners to the enclosing test instance of a @Nested
test instance.... | spring-test/src/test/java/org/springframework/test/context/junit4/nested/NestedTestsWithSpringRulesTests.java | @@ -39,6 +39,7 @@
*
* @author Sam Brannen
* @since 5.0
+ * @see org.springframework.test.context.junit.jupiter.nested.NestedTestsWithSpringAndJUnitJupiterTestCase
*/
@RunWith(HierarchicalContextRunner.class)
@ContextConfiguration(classes = TopLevelConfig.class) | true |
Other | spring-projects | spring-framework | 634d1c03a3d4b55b44c23c0b240a786331f12659.json | Introduce @EnabledIf support for JUnit Jupiter
This commit picks up where SPR-14614 left off by introducing a new
@EnabledIf annotation to serve as a logical companion to @DisabledIf.
In addition, this commit extracts common logic from DisabledIfCondition
into a new AbstractExpressionEvaluatingCondition base class wh... | spring-test/src/main/java/org/springframework/test/context/junit/jupiter/AbstractExpressionEvaluatingCondition.java | @@ -0,0 +1,167 @@
+/*
+ * 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 | 634d1c03a3d4b55b44c23c0b240a786331f12659.json | Introduce @EnabledIf support for JUnit Jupiter
This commit picks up where SPR-14614 left off by introducing a new
@EnabledIf annotation to serve as a logical companion to @DisabledIf.
In addition, this commit extracts common logic from DisabledIfCondition
into a new AbstractExpressionEvaluatingCondition base class wh... | spring-test/src/main/java/org/springframework/test/context/junit/jupiter/DisabledIf.java | @@ -54,6 +54,7 @@
* @author Tadaya Tsuyukubo
* @since 5.0
* @see SpringExtension
+ * @see EnabledIf
* @see org.junit.jupiter.api.Disabled
*/
@Target({ ElementType.TYPE, ElementType.METHOD }) | true |
Other | spring-projects | spring-framework | 634d1c03a3d4b55b44c23c0b240a786331f12659.json | Introduce @EnabledIf support for JUnit Jupiter
This commit picks up where SPR-14614 left off by introducing a new
@EnabledIf annotation to serve as a logical companion to @DisabledIf.
In addition, this commit extracts common logic from DisabledIfCondition
into a new AbstractExpressionEvaluatingCondition base class wh... | spring-test/src/main/java/org/springframework/test/context/junit/jupiter/DisabledIfCondition.java | @@ -16,48 +16,31 @@
package org.springframework.test.context.junit.jupiter;
-import java.lang.annotation.Annotation;
-import java.lang.reflect.AnnotatedElement;
-import java.util.Optional;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
import org.junit.jupiter.api.exten... | true |
Other | spring-projects | spring-framework | 634d1c03a3d4b55b44c23c0b240a786331f12659.json | Introduce @EnabledIf support for JUnit Jupiter
This commit picks up where SPR-14614 left off by introducing a new
@EnabledIf annotation to serve as a logical companion to @DisabledIf.
In addition, this commit extracts common logic from DisabledIfCondition
into a new AbstractExpressionEvaluatingCondition base class wh... | spring-test/src/main/java/org/springframework/test/context/junit/jupiter/EnabledIf.java | @@ -0,0 +1,111 @@
+/*
+ * 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 | 634d1c03a3d4b55b44c23c0b240a786331f12659.json | Introduce @EnabledIf support for JUnit Jupiter
This commit picks up where SPR-14614 left off by introducing a new
@EnabledIf annotation to serve as a logical companion to @DisabledIf.
In addition, this commit extracts common logic from DisabledIfCondition
into a new AbstractExpressionEvaluatingCondition base class wh... | spring-test/src/main/java/org/springframework/test/context/junit/jupiter/EnabledIfCondition.java | @@ -0,0 +1,66 @@
+/*
+ * 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.