Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt use of HandlerAdapter#getLastModified in MessageDispatcherServlet #1470

Open
snicoll opened this issue Feb 27, 2025 · 0 comments
Open
Labels
type: task A general task
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Feb 27, 2025

HandlerAdapter#getLastModified is deprecated so we need to adapt the following:

protected long getLastModified(HttpServletRequest httpServletRequest) {
WsdlDefinition definition = getWsdlDefinition(httpServletRequest);
if (definition != null) {
return wsdlDefinitionHandlerAdapter.getLastModified(httpServletRequest, definition);
}
XsdSchema schema = getXsdSchema(httpServletRequest);
if (schema != null) {
return xsdSchemaHandlerAdapter.getLastModified(httpServletRequest, schema);
}
return messageReceiverHandlerAdapter.getLastModified(httpServletRequest, messageReceiver);
}

@snicoll snicoll added the type: task A general task label Feb 27, 2025
@snicoll snicoll added this to the 4.0.x milestone Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant