Start building against Spring Framework 7.0.0-M5 snapshots
See gh-1552
This commit is contained in:
@@ -4,4 +4,4 @@ org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
|
||||
compatibilityTestPluginVersion=0.0.3
|
||||
springFrameworkVersion=6.2.6
|
||||
springFrameworkVersion=7.0.0-SNAPSHOT
|
||||
@@ -92,7 +92,7 @@ public class ClientHttpRequestConnection extends AbstractHttpSenderConnection {
|
||||
|
||||
@Override
|
||||
public Iterator<String> getResponseHeaderNames() throws IOException {
|
||||
return this.response.getHeaders().keySet().iterator();
|
||||
return this.response.getHeaders().headerNames().iterator();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -21,8 +21,9 @@ import java.net.URI;
|
||||
import java.net.http.HttpClient;
|
||||
import java.time.Duration;
|
||||
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.ws.transport.WebServiceConnection;
|
||||
|
||||
|
||||
@@ -48,12 +48,6 @@ import org.springframework.ws.transport.support.WebServiceMessageReceiverObjectS
|
||||
public class WebServiceMessageReceiverHandlerAdapter extends WebServiceMessageReceiverObjectSupport
|
||||
implements HandlerAdapter {
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public long getLastModified(HttpServletRequest request, Object handler) {
|
||||
return -1L;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ModelAndView handle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse,
|
||||
Object handler) throws Exception {
|
||||
|
||||
@@ -140,13 +140,6 @@ public class WsdlDefinitionHandlerAdapter extends LocationTransformerObjectSuppo
|
||||
this.transformSchemaLocations = transformSchemaLocations;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public long getLastModified(HttpServletRequest request, Object handler) {
|
||||
Source definitionSource = ((WsdlDefinition) handler).getSource();
|
||||
return LastModifiedHelper.getLastModified(definitionSource);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Object handler)
|
||||
throws Exception {
|
||||
|
||||
@@ -88,13 +88,6 @@ public class XsdSchemaHandlerAdapter extends LocationTransformerObjectSupport
|
||||
this.transformSchemaLocations = transformSchemaLocations;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public long getLastModified(HttpServletRequest request, Object handler) {
|
||||
Source schemaSource = ((XsdSchema) handler).getSource();
|
||||
return LastModifiedHelper.getLastModified(schemaSource);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Object handler)
|
||||
throws Exception {
|
||||
|
||||
@@ -57,18 +57,6 @@ class XsdSchemaHandlerAdapterTests {
|
||||
this.response = new MockHttpServletResponse();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Deprecated
|
||||
void getLastModified() throws Exception {
|
||||
|
||||
Resource single = new ClassPathResource("single.xsd", getClass());
|
||||
SimpleXsdSchema schema = new SimpleXsdSchema(single);
|
||||
schema.afterPropertiesSet();
|
||||
long lastModified = single.getFile().lastModified();
|
||||
|
||||
assertThat(this.adapter.getLastModified(null, schema)).isEqualTo(lastModified);
|
||||
}
|
||||
|
||||
@Test
|
||||
void handleGet() throws Exception {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user