Skip to content

Handle "If-Modified-Since" request headers in WSDL and XSD handlers  #1470

@snicoll

Description

@snicoll

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);
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions