File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
spring-web/src/main/java/org/springframework/http/server/reactive Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ configure(allprojects) { project ->
26
26
mavenBom " com.fasterxml.jackson:jackson-bom:2.11.2"
27
27
mavenBom " io.netty:netty-bom:4.1.51.Final"
28
28
mavenBom " io.projectreactor:reactor-bom:2020.0.0-RC1"
29
- mavenBom " io.r2dbc:r2dbc-bom:Arabba-SR6 "
29
+ mavenBom " io.r2dbc:r2dbc-bom:Arabba-SR7 "
30
30
mavenBom " io.rsocket:rsocket-bom:1.1.0-M2"
31
31
mavenBom " org.eclipse.jetty:jetty-bom:9.4.31.v20200723"
32
32
mavenBom " org.jetbrains.kotlin:kotlin-bom:1.4.0"
@@ -133,7 +133,7 @@ configure(allprojects) { project ->
133
133
entry ' tomcat-embed-core'
134
134
entry ' tomcat-embed-websocket'
135
135
}
136
- dependencySet(group : ' io.undertow' , version : ' 2.1.3 .Final' ) {
136
+ dependencySet(group : ' io.undertow' , version : ' 2.2.0 .Final' ) {
137
137
entry ' undertow-core'
138
138
entry(' undertow-websockets-jsr' ) {
139
139
exclude group : " org.jboss.spec.javax.websocket" , name : " jboss-websocket-api_1.1_spec"
Original file line number Diff line number Diff line change @@ -77,9 +77,11 @@ public String getMethodValue() {
77
77
return this .exchange .getRequestMethod ().toString ();
78
78
}
79
79
80
+ @ SuppressWarnings ("deprecation" )
80
81
@ Override
81
82
protected MultiValueMap <String , HttpCookie > initCookies () {
82
83
MultiValueMap <String , HttpCookie > cookies = new LinkedMultiValueMap <>();
84
+ // getRequestCookies() is deprecated in Undertow 2.2
83
85
for (String name : this .exchange .getRequestCookies ().keySet ()) {
84
86
Cookie cookie = this .exchange .getRequestCookies ().get (name );
85
87
HttpCookie httpCookie = new HttpCookie (name , cookie .getValue ());
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ protected void applyStatusCode() {
104
104
protected void applyHeaders () {
105
105
}
106
106
107
+ @ SuppressWarnings ("deprecation" )
107
108
@ Override
108
109
protected void applyCookies () {
109
110
for (String name : getCookies ().keySet ()) {
@@ -121,6 +122,7 @@ protected void applyCookies() {
121
122
cookie .setSecure (httpCookie .isSecure ());
122
123
cookie .setHttpOnly (httpCookie .isHttpOnly ());
123
124
cookie .setSameSiteMode (httpCookie .getSameSite ());
125
+ // getResponseCookies() is deprecated in Undertow 2.2
124
126
this .exchange .getResponseCookies ().putIfAbsent (name , cookie );
125
127
}
126
128
}
You can’t perform that action at this time.
0 commit comments