Merge branch '5.3.x'
# Conflicts: # spring-webflux/src/main/java/org/springframework/web/reactive/resource/VersionResourceResolver.java # spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2020 the original author or authors.
|
* Copyright 2002-2022 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -88,7 +88,7 @@ public class UndertowHttpHandlerAdapter implements io.undertow.server.HttpHandle
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private class HandlerResultSubscriber implements Subscriber<Void> {
|
private static class HandlerResultSubscriber implements Subscriber<Void> {
|
||||||
|
|
||||||
private final HttpServerExchange exchange;
|
private final HttpServerExchange exchange;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2021 the original author or authors.
|
* Copyright 2002-2022 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -236,7 +236,7 @@ public class VersionResourceResolver extends AbstractResourceResolver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private class FileNameVersionedResource extends AbstractResource implements HttpResource {
|
private static class FileNameVersionedResource extends AbstractResource implements HttpResource {
|
||||||
|
|
||||||
private final Resource original;
|
private final Resource original;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2021 the original author or authors.
|
* Copyright 2002-2022 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -82,7 +82,7 @@ public class UndertowRequestUpgradeStrategy implements RequestUpgradeStrategy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private class DefaultCallback implements WebSocketConnectionCallback {
|
private static class DefaultCallback implements WebSocketConnectionCallback {
|
||||||
|
|
||||||
private final HandshakeInfo handshakeInfo;
|
private final HandshakeInfo handshakeInfo;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2021 the original author or authors.
|
* Copyright 2002-2022 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -232,7 +232,7 @@ public class VersionResourceResolver extends AbstractResourceResolver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private class FileNameVersionedResource extends AbstractResource implements HttpResource {
|
private static class FileNameVersionedResource extends AbstractResource implements HttpResource {
|
||||||
|
|
||||||
private final Resource original;
|
private final Resource original;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2019 the original author or authors.
|
* Copyright 2002-2022 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -75,7 +75,7 @@ public class XhrStreamingTransportHandler extends AbstractHttpSendingTransportHa
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private class XhrStreamingSockJsSession extends StreamingSockJsSession {
|
private static class XhrStreamingSockJsSession extends StreamingSockJsSession {
|
||||||
|
|
||||||
public XhrStreamingSockJsSession(String sessionId, SockJsServiceConfig config,
|
public XhrStreamingSockJsSession(String sessionId, SockJsServiceConfig config,
|
||||||
WebSocketHandler wsHandler, Map<String, Object> attributes) {
|
WebSocketHandler wsHandler, Map<String, Object> attributes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user