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
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/client/UnknownContentTypeException.java
@@ -20,6 +20,7 @@ import java.nio.charset.StandardCharsets; import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.lang.Nullable; @@ -40,7 +41,7 @@ public class UnknownContentTypeException extends RestCl...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/client/UnknownHttpStatusCodeException.java
@@ -19,7 +19,6 @@ import java.nio.charset.Charset; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; import org.springframework.lang.Nullable; /** @@ -34,8 +33,8 @@ public class UnknownHttpStatusCodeException extends RestClientResponseException /** - * Construct a ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/context/request/async/AsyncRequestTimeoutException.java
@@ -17,6 +17,7 @@ package org.springframework.web.context.request.async; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ProblemDetail; import org.springframework.web.ErrorResponse; @@ -37,13 +38,13 @@ public class AsyncRequestTimeout...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/filter/RelativeRedirectFilter.java
@@ -24,6 +24,7 @@ import jakarta.servlet.http.HttpServletResponse; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.util.Assert; /** @@ -43,15 +44,15 @@ */ public class RelativeRedirectFilter extends OncePerRequestFilter { - private Htt...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/filter/RelativeRedirectResponseWrapper.java
@@ -20,7 +20,7 @@ import jakarta.servlet.http.HttpServletResponseWrapper; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.util.Assert; import org.springframework.web.util.WebUtils; @@ -33,10 +33...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/method/HandlerMethod.java
@@ -36,7 +36,7 @@ import org.springframework.core.ResolvableType; import org.springframework.core.annotation.AnnotatedElementUtils; import org.springframework.core.annotation.SynthesizingMethodParameter; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springf...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/method/support/ModelAndViewContainer.java
@@ -20,7 +20,7 @@ import java.util.Map; import java.util.Set; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.ui.Model; import org.springframework.ui.ModelMap; @@ -62,7 +62,7 @@ public class ModelAn...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/server/ResponseStatusException.java
@@ -18,7 +18,7 @@ import org.springframework.core.NestedExceptionUtils; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.web.ErrorResponseException; @@ -...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/server/adapter/DefaultServerWebExchange.java
@@ -34,6 +34,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.InvalidMediaTypeException; import org.springframework.http.MediaType; import org.s...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/server/adapter/HttpWebHandlerAdapter.java
@@ -29,6 +29,7 @@ import org.springframework.core.log.LogFormatUtils; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.codec.LoggingCodecSupport; import org.springframework.http.codec.ServerCode...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/main/java/org/springframework/web/server/handler/ResponseStatusExceptionHandler.java
@@ -21,7 +21,7 @@ import reactor.core.publisher.Mono; import org.springframework.core.log.LogFormatUtils; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.server.reactive.ServerHttpRequest; import org.springframework.http.server.reactive...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/test/java/org/springframework/web/ErrorResponseExceptionTests.java
@@ -328,7 +328,7 @@ void methodNotAllowedExceptionWithoutSupportedMethods() { private void assertStatus(ErrorResponse ex, HttpStatus status) { ProblemDetail body = ex.getBody(); - assertThat(ex.getStatus()).isEqualTo(status); + assertThat(ex.getStatusCode()).isEqualTo(status); assertThat(body.getStatus()).i...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/test/java/org/springframework/web/client/DefaultResponseErrorHandlerHttpStatusTests.java
@@ -66,7 +66,7 @@ class DefaultResponseErrorHandlerHttpStatusTests { @DisplayName("hasError() returns true") @MethodSource("errorCodes") void hasErrorTrue(HttpStatus httpStatus) throws Exception { - given(this.response.getRawStatusCode()).willReturn(httpStatus.value()); + given(this.response.getStatusCode()).wi...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/test/java/org/springframework/web/client/DefaultResponseErrorHandlerTests.java
@@ -24,6 +24,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.client.ClientHttpResponse; import org.springframework.util.StreamUtils; @@ -50,13 ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/test/java/org/springframework/web/client/ExtractingResponseErrorHandlerTests.java
@@ -60,13 +60,13 @@ public void setup() { @Test public void hasError() throws Exception { - given(this.response.getRawStatusCode()).willReturn(HttpStatus.I_AM_A_TEAPOT.value()); + given(this.response.getStatusCode()).willReturn(HttpStatus.I_AM_A_TEAPOT); assertThat(this.errorHandler.hasError(this.response))....
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/test/java/org/springframework/web/client/HttpMessageConverterExtractorTests.java
@@ -72,23 +72,23 @@ void constructorPreconditions() { @Test void noContent() throws IOException { - given(response.getRawStatusCode()).willReturn(HttpStatus.NO_CONTENT.value()); + given(response.getStatusCode()).willReturn(HttpStatus.NO_CONTENT); Object result = extractor.extractData(response); assertTh...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/client/reactive/MockClientHttpResponse.java
@@ -30,6 +30,7 @@ import org.springframework.core.io.buffer.DefaultDataBufferFactory; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ClientResponse.java
@@ -30,7 +30,7 @@ import org.springframework.core.io.buffer.DataBuffer; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpRequest; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.sprin...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultClientResponse.java
@@ -34,6 +34,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpRequest; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; import org.springframe...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultClientResponseBuilder.java
@@ -30,6 +30,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseCookie; import org.springframework.http.client.reactive.ClientHttpResponse;...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClient.java
@@ -39,7 +39,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFilterFunctions.java
@@ -26,7 +26,7 @@ import org.springframework.core.io.buffer.DataBufferUtils; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.Assert; @@ -66,12 +66,...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFunctions.java
@@ -26,7 +26,6 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; -import org.springframework.http.HttpStatus; import org.springframework.http.client.reactive.ClientHttpConnector; import org.springframework.http.client.reactive.C...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/UnknownHttpStatusCodeException.java
@@ -20,6 +20,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpRequest; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; /** @@ -57,4 +58,17 @@ public UnknownHttpStatusCodeException( headers, responseBody, responseCharset, reques...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java
@@ -35,7 +35,7 @@ import org.springframework.core.ReactiveAdapterRegistry; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.spr...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClientResponseException.java
@@ -22,6 +22,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpRequest; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; /** @@ -35,7 +36,7 @@ public class WebClientResponseException extends ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClientUtils.java
@@ -53,15 +53,15 @@ public static <T> Mono<ResponseEntity<T>> mapToEntity(ClientResponse response, M new ResponseEntity<>( body != VALUE_NONE ? (T) body : null, response.headers().asHttpHeaders(), - response.rawStatusCode())); + response.statusCode())); } /** * Map the given respon...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/support/ClientResponseWrapper.java
@@ -25,7 +25,7 @@ import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; impor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultEntityResponseBuilder.java
@@ -35,6 +35,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; import org.springframew...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultRenderingResponseBuilder.java
@@ -33,6 +33,7 @@ import org.springframework.core.Conventions; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; import org.springframe...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultServerRequest.java
@@ -41,6 +41,8 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpRange; +import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.h...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/DefaultServerResponseBuilder.java
@@ -39,7 +39,7 @@ import org.springframework.http.CacheControl; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframewor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java
@@ -30,7 +30,7 @@ import org.springframework.http.CacheControl; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframewor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RenderingResponse.java
@@ -23,7 +23,7 @@ import reactor.core.publisher.Mono; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseCookie; import org.springframework.lang.Nullable; import org.springframework.uti...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java
@@ -35,6 +35,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; import org.springframew...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/handler/WebFluxResponseStatusExceptionHandler.java
@@ -17,6 +17,7 @@ package org.springframework.web.reactive.handler; import org.springframework.core.annotation.AnnotatedElementUtils; +import org.springframework.http.HttpStatusCode; import org.springframework.web.bind.annotation.ResponseStatus; import org.springframework.web.server.handler.ResponseStatusExceptio...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.java
@@ -33,7 +33,7 @@ import org.springframework.core.ParameterNameDiscoverer; import org.springframework.core.ReactiveAdapter; import org.springframework.core.ReactiveAdapterRegistry; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.server.re...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageWriterResultHandler.java
@@ -30,7 +30,7 @@ import org.springframework.core.ReactiveAdapterRegistry; import org.springframework.core.ResolvableType; import org.springframework.core.codec.Hints; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandler.java
@@ -141,7 +141,7 @@ public Mono<Void> handleResult(ServerWebExchange exchange, HandlerResult result) httpEntity = (HttpEntity<?>) returnValue; } else if (returnValue instanceof ErrorResponse response) { - httpEntity = new ResponseEntity<>(response.getBody(), response.getHeaders(), response.getRawStatusC...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/DefaultRendering.java
@@ -20,7 +20,7 @@ import java.util.Map; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.ui.Model; @@ -40,12 +40,12 @@ class DefaultRendering implements ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/DefaultRenderingBuilder.java
@@ -20,7 +20,7 @@ import java.util.Map; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.ui.ExtendedModelMap; import org.springframework.ui.Model; @@ -40,...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/RedirectView.java
@@ -27,6 +27,7 @@ import reactor.core.publisher.Mono; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.server.reactive.ServerHttpRequest; import org.springframework.http.server.reactive.ServerHt...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/Rendering.java
@@ -20,7 +20,7 @@ import java.util.Map; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.ui.Model; @@ -58,7 +58,7 @@ public interface Rendering { * Re...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/java/org/springframework/web/reactive/result/view/ViewResolutionResultHandler.java
@@ -37,7 +37,7 @@ import org.springframework.core.ReactiveAdapterRegistry; import org.springframework.core.ResolvableType; import org.springframework.core.annotation.AnnotationAwareOrderComparator; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframewo...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt
@@ -21,7 +21,7 @@ import kotlinx.coroutines.reactive.awaitSingle import kotlinx.coroutines.reactor.mono import org.springframework.core.io.Resource import org.springframework.http.HttpMethod -import org.springframework.http.HttpStatus +import org.springframework.http.HttpStatusCode import org.springframework.http.M...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/RouterFunctionDsl.kt
@@ -19,6 +19,7 @@ package org.springframework.web.reactive.function.server import org.springframework.core.io.Resource import org.springframework.http.HttpMethod import org.springframework.http.HttpStatus +import org.springframework.http.HttpStatusCode import org.springframework.http.MediaType import reactor.core....
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientResponseBuilderTests.java
@@ -28,12 +28,12 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseCookie; import org.springframework.web.testfixture.http.client.reactive.M...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientResponseTests.java
@@ -39,6 +39,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpRange; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; import org.springframewo...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultWebClientTests.java
@@ -38,6 +38,7 @@ import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.codec.ClientCodecConfigu...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/ExchangeFilterFunctionsTests.java
@@ -30,6 +30,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.web.reactive.function.BodyExtractors; import static java.nio.charset.StandardCharsets....
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java
@@ -64,6 +64,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseCookie; import org.springframew...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/server/RouterFunctionBuilderTests.java
@@ -27,6 +27,7 @@ import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.web.testfixture.http.server.reactiv...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/function/server/support/DispatcherHandlerIntegrationTests.java
@@ -21,6 +21,7 @@ import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.spr...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/resource/ResourceWebHandlerTests.java
@@ -329,7 +329,7 @@ private void testInvalidPath(String requestPath, ResourceWebHandler handler) { StepVerifier.create(handler.handle(exchange)) .expectErrorSatisfies(err -> { assertThat(err).isInstanceOf(ResponseStatusException.class); - assertThat(((ResponseStatusException) err).getRawStatusCode())....
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestMappingExceptionHandlingIntegrationTests.java
@@ -29,6 +29,7 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.a...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/ZeroDemandResponse.java
@@ -27,7 +27,7 @@ import org.springframework.core.io.buffer.DataBufferFactory; import org.springframework.core.testfixture.io.buffer.LeakAwareDataBufferFactory; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.sprin...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/FrameworkServlet.java
@@ -48,7 +48,7 @@ import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org....
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/ModelAndView.java
@@ -18,7 +18,7 @@ import java.util.Map; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.ui.ModelMap; import org.springframework.util.CollectionUtils; @@ -56,7 +56,7 @@ public class ModelAndView { ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/NoHandlerFoundException.java
@@ -22,6 +22,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ProblemDetail; import org.springframework.web.ErrorResponse; @@ -59,13 +60,12 @@ public NoHandlerFoundException(String httpM...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/config/ViewControllerBeanDefinitionParser.java
@@ -27,7 +27,7 @@ import org.springframework.beans.factory.support.RootBeanDefinition; import org.springframework.beans.factory.xml.BeanDefinitionParser; import org.springframework.beans.factory.xml.ParserContext; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import o...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/RedirectViewControllerRegistration.java
@@ -17,7 +17,7 @@ package org.springframework.web.servlet.config.annotation; import org.springframework.context.ApplicationContext; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.Assert; impor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewControllerRegistration.java
@@ -17,7 +17,7 @@ package org.springframework.web.servlet.config.annotation; import org.springframework.context.ApplicationContext; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.Assert; impor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewControllerRegistry.java
@@ -22,7 +22,7 @@ import java.util.Map; import org.springframework.context.ApplicationContext; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.AntPathMatcher; import org.springframework.web.ser...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/AbstractServerResponse.java
@@ -27,7 +27,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.CollectionUtils; import org.springfram...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/DefaultAsyncServerResponse.java
@@ -34,7 +34,7 @@ import org.springframework.core.ReactiveAdapter; import org.springframework.core.ReactiveAdapterRegistry; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/DefaultEntityResponseBuilder.java
@@ -50,6 +50,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpRange; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.InvalidMediaTypeException; import org.springframework.http.MediaType; import org.spr...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/DefaultRenderingResponseBuilder.java
@@ -30,6 +30,7 @@ import org.springframework.core.Conventions; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.Assert; import org.springframework.util...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/DefaultServerResponseBuilder.java
@@ -34,7 +34,7 @@ import org.springframework.http.CacheControl; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframewor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/EntityResponse.java
@@ -28,7 +28,7 @@ import org.springframework.http.CacheControl; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframewor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/RenderingResponse.java
@@ -23,7 +23,7 @@ import jakarta.servlet.http.Cookie; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.MultiValueMap; @@ -135,7 +135,7 @@ interface ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerResponse.java
@@ -42,6 +42,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.converter.HttpMessageConverter; import ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/function/SseServerResponse.java
@@ -31,6 +31,7 @@ import org.springframework.http.CacheControl; import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.server.DelegatingSer...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/ParameterizableViewController.java
@@ -21,6 +21,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.View; @@ -42,7 +43,7 @@ ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/ResponseStatusExceptionResolver.java
@@ -131,7 +131,7 @@ protected ModelAndView resolveResponseStatusException(ResponseStatusException ex HttpServletRequest request, HttpServletResponse response, @Nullable Object handler) throws Exception { ex.getHeaders().forEach((name, values) -> values.forEach(value -> response.addHeader(name, value))); - ret...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
@@ -33,7 +33,7 @@ import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.core.SpringProperties; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.convert...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessor.java
@@ -182,7 +182,7 @@ public void handleReturnValue(@Nullable Object returnValue, MethodParameter retu HttpEntity<?> httpEntity; if (returnValue instanceof ErrorResponse response) { - httpEntity = new ResponseEntity<>(response.getBody(), response.getHeaders(), response.getRawStatusCode()); + httpEntity = new ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitterReturnValueHandler.java
@@ -130,9 +130,8 @@ public void handleReturnValue(@Nullable Object returnValue, MethodParameter retu Assert.state(response != null, "No HttpServletResponse"); ServerHttpResponse outputMessage = new ServletServerHttpResponse(response); - if (returnValue instanceof ResponseEntity) { - ResponseEntity<?> respons...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandler.java
@@ -24,6 +24,7 @@ import org.springframework.beans.TypeMismatchException; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseEntity; import org.springframework.http.converter.HttpMessageCo...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java
@@ -30,7 +30,7 @@ import org.springframework.core.MethodParameter; import org.springframework.core.ResolvableType; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springfr...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/StreamingResponseBodyReturnValueHandler.java
@@ -71,9 +71,8 @@ public void handleReturnValue(@Nullable Object returnValue, MethodParameter retu Assert.state(response != null, "No HttpServletResponse"); ServerHttpResponse outputMessage = new ServletServerHttpResponse(response); - if (returnValue instanceof ResponseEntity) { - ResponseEntity<?> responseE...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java
@@ -460,7 +460,7 @@ protected ModelAndView handleErrorResponse(ErrorResponse errorResponse, HttpHeaders headers = errorResponse.getHeaders(); headers.forEach((name, values) -> values.forEach(value -> response.addHeader(name, value))); - int status = errorResponse.getRawStatusCode(); + int status = errorRe...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/java/org/springframework/web/servlet/view/RedirectView.java
@@ -32,6 +32,7 @@ import org.springframework.beans.BeanUtils; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.lang.Nullable; import org.springframework.util.Assert; import org.springframework.util.CollectionUtils; @@ -98,7 +99,7 @@ public cl...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt
@@ -18,7 +18,7 @@ package org.springframework.web.servlet.function import org.springframework.core.io.Resource import org.springframework.http.HttpMethod -import org.springframework.http.HttpStatus +import org.springframework.http.HttpStatusCode import org.springframework.http.MediaType import java.net.URI impor...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/test/java/org/springframework/web/servlet/function/RouterFunctionBuilderTests.java
@@ -26,6 +26,7 @@ import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.lang.Nullable; import org.springfr...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseEntityExceptionHandlerTests.java
@@ -31,6 +31,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframew...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/JettyXhrTransport.java
@@ -31,7 +31,7 @@ import org.springframework.context.Lifecycle; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseEntity; import org.springframework.lang.Nullable; import org.springfra...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/RestTemplateXhrTransport.java
@@ -26,6 +26,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseEntity; import org.springframework.http.StreamingHttpOutputMessage; import...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/UndertowXhrTransport.java
@@ -49,7 +49,7 @@ import org.xnio.channels.StreamSourceChannel; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.ResponseEntity; import org.springframework.lang.Nullable; import org.springfra...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java
@@ -33,6 +33,7 @@ import org.springframework.core.log.LogFormatUtils; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpR...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractHttpReceivingTransportHandler.java
@@ -21,6 +21,7 @@ import java.util.Arrays; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.MediaType; import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpResponse; @@ -104,6 +105,6 ...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/XhrReceivingTransportHandler.java
@@ -19,6 +19,7 @@ import java.io.IOException; import org.springframework.http.HttpStatus; +import org.springframework.http.HttpStatusCode; import org.springframework.http.server.ServerHttpRequest; import org.springframework.lang.Nullable; import org.springframework.web.socket.sockjs.transport.TransportHandler; @...
true
Other
spring-projects
spring-framework
28ac0d3883e0c683fb995dffc0af7c8a82f3c3d0.json
Use HttpStatusCode interface This commit contains changes made because of the introduction of HttpStatusCode. In general, methods that used to return a HttpStatus now return HttpStatusCode instead, and methods that returned raw status codes are now deprecated. See gh-28214
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/RestTemplateXhrTransportTests.java
@@ -190,7 +190,7 @@ private ListenableFuture<WebSocketSession> connect(RestOperations restTemplate, private ClientHttpResponse response(HttpStatus status, String body) throws IOException { ClientHttpResponse response = mock(ClientHttpResponse.class); InputStream inputStream = getInputStream(body); - given(resp...
true
Other
spring-projects
spring-framework
ca4b6e86a4dd7f278049a6d91196d817c7953c43.json
Introduce HttpStatusCode interface This commit introduces HttpStatusCode, an interface implemented by HttpStatus. Instances of HttpStatusCode are obtained via static valueOf(int) factory method, returning a HttpStatus enum entry if available, and a default implementation otherwise. The underlying reason behind this c...
spring-web/src/main/java/org/springframework/http/DefaultHttpStatusCode.java
@@ -0,0 +1,105 @@ +/* + * Copyright 2002-2022 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
ca4b6e86a4dd7f278049a6d91196d817c7953c43.json
Introduce HttpStatusCode interface This commit introduces HttpStatusCode, an interface implemented by HttpStatus. Instances of HttpStatusCode are obtained via static valueOf(int) factory method, returning a HttpStatus enum entry if available, and a default implementation otherwise. The underlying reason behind this c...
spring-web/src/main/java/org/springframework/http/HttpStatus.java
@@ -31,7 +31,7 @@ * @see <a href="https://www.iana.org/assignments/http-status-codes">HTTP Status Code Registry</a> * @see <a href="https://en.wikipedia.org/wiki/List_of_HTTP_status_codes">List of HTTP status codes - Wikipedia</a> */ -public enum HttpStatus { +public enum HttpStatus implements HttpStatusCode { ...
true
Other
spring-projects
spring-framework
ca4b6e86a4dd7f278049a6d91196d817c7953c43.json
Introduce HttpStatusCode interface This commit introduces HttpStatusCode, an interface implemented by HttpStatus. Instances of HttpStatusCode are obtained via static valueOf(int) factory method, returning a HttpStatus enum entry if available, and a default implementation otherwise. The underlying reason behind this c...
spring-web/src/main/java/org/springframework/http/HttpStatusCode.java
@@ -0,0 +1,96 @@ +/* + * Copyright 2002-2021 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
e7e843cae2d3303a0e2d09d8a64f14ebbf314c00.json
Fix formatting errors See gh-28212
spring-core/src/test/java/org/springframework/aot/nativex/ReflectionHintsSerializerTests.java
@@ -121,19 +121,19 @@ void two() throws JSONException { void queriedMethods() throws JSONException { ReflectionHints hints = new ReflectionHints(); hints.registerType(Integer.class, builder -> builder.withMethod("parseInt", List.of(TypeReference.of(String.class)), - (b) -> b.withMode(ExecutableMode.INTROSPEC...
false
Other
spring-projects
spring-framework
8fc744f4f4bb27bba10532264a257677d2c35802.json
Improve Javadoc for BeanExpressionResolver
spring-beans/src/main/java/org/springframework/beans/factory/config/BeanExpressionResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2022 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. @@ -20,8 +20,8 @@ import org.springframework.l...
true
Other
spring-projects
spring-framework
8fc744f4f4bb27bba10532264a257677d2c35802.json
Improve Javadoc for BeanExpressionResolver
spring-context/src/main/java/org/springframework/context/expression/StandardBeanExpressionResolver.java
@@ -138,7 +138,7 @@ public void setExpressionParser(ExpressionParser expressionParser) { @Override @Nullable - public Object evaluate(@Nullable String value, BeanExpressionContext evalContext) throws BeansException { + public Object evaluate(@Nullable String value, BeanExpressionContext beanExpressionContext) thr...
true
Other
spring-projects
spring-framework
fae36e98b4c3d72941e3f209a87047332ff51ba1.json
Remove obsolete code in R2dbcTransactionManager See gh-28059 Closes gh-28202
spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/R2dbcTransactionManager.java
@@ -360,11 +360,6 @@ protected Mono<Void> doCleanupAfterCompletion(TransactionSynchronizationManager afterCleanup = afterCleanup.then(Mono.from(con.setAutoCommit(true))); } - if (txObject.getPreviousIsolationLevel() != null) { - afterCleanup = afterCleanup - .then(Mono.from(con.setTransactionIsolat...
false
Other
spring-projects
spring-framework
c418768f05751b791434abb43a9ee6e68467b96e.json
Add @HttpRequest and HttpServiceProxyFactory See gh-28386
spring-web/src/main/java/org/springframework/web/service/annotation/GetRequest.java
@@ -0,0 +1,57 @@ +/* + * Copyright 2002-2022 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true