@MVC 2.0: AbstractAnnotationMAR -> AbstractNamedValueMAR

This commit is contained in:
Arjen Poutsma
2011-02-25 11:05:14 +00:00
parent 9dbab116fd
commit bc342df08f

View File

@@ -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 {
* <p>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) {