See gh-27160
@ -61,6 +61,7 @@ class CompositeHandlerAdapter implements HandlerAdapter {
}
@Override
@Deprecated
public long getLastModified(HttpServletRequest request, Object handler) {
Optional<HandlerAdapter> adapter = getAdapter(handler);
return adapter.map((handlerAdapter) -> handlerAdapter.getLastModified(request, handler)).orElse(0L);