Consistent deprecation of outdated MVC infrastructure classes

Issue: SPR-14128
This commit is contained in:
Juergen Hoeller
2016-04-07 11:37:34 +02:00
parent 4ea4257e3c
commit ed14ae60e5
19 changed files with 68 additions and 36 deletions

View File

@@ -26,7 +26,9 @@ import org.springframework.core.NestedRuntimeException;
* @author Juergen Hoeller
* @since 2.5.6
* @see HandlerMethodInvoker#invokeHandlerMethod
* @deprecated as of 4.3, in favor of the {@code HandlerMethod}-based MVC infrastructure
*/
@Deprecated
@SuppressWarnings("serial")
public class HandlerMethodInvocationException extends NestedRuntimeException {

View File

@@ -94,7 +94,9 @@ import org.springframework.web.multipart.MultipartRequest;
* @author Arjen Poutsma
* @since 2.5.2
* @see #invokeHandlerMethod
* @deprecated as of 4.3, in favor of the {@code HandlerMethod}-based MVC infrastructure
*/
@Deprecated
public class HandlerMethodInvoker {
private static final String MODEL_KEY_PREFIX_STALE = SessionAttributeStore.class.getName() + ".STALE.";

View File

@@ -48,7 +48,9 @@ import org.springframework.web.bind.annotation.SessionAttributes;
* @see org.springframework.web.bind.annotation.InitBinder
* @see org.springframework.web.bind.annotation.ModelAttribute
* @see org.springframework.web.bind.annotation.SessionAttributes
* @deprecated as of 4.3, in favor of the {@code HandlerMethod}-based MVC infrastructure
*/
@Deprecated
public class HandlerMethodResolver {
private final Set<Method> handlerMethods = new LinkedHashSet<Method>();