From 0cbaea735cbed12c67919445d9ea18066ba3dbdb Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Fri, 25 Feb 2011 11:05:14 +0000 Subject: [PATCH] @MVC 2.0: AbstractAnnotationMAR -> AbstractNamedValueMAR git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4037 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../web/bind/annotation/support/HandlerMethodInvoker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/support/HandlerMethodInvoker.java b/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/support/HandlerMethodInvoker.java index dee315f283f..1ba2620acf6 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/support/HandlerMethodInvoker.java +++ b/org.springframework.web/src/main/java/org/springframework/web/bind/annotation/support/HandlerMethodInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -828,7 +828,7 @@ public class HandlerMethodInvoker { *

Throws an UnsupportedOperationException by default. */ protected HttpOutputMessage createHttpOutputMessage(NativeWebRequest webRequest) throws Exception { - throw new UnsupportedOperationException("@ResponseBody not supported"); + throw new UnsupportedOperationException("@Body not supported"); } protected String parseDefaultValueAttribute(String value) {