@MVC 2.0: AbstractAnnotationMAR -> AbstractNamedValueMAR

master
Arjen Poutsma 14 years ago
parent 9dbab116fd
commit bc342df08f
  1. 4
      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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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. * <p>Throws an UnsupportedOperationException by default.
*/ */
protected HttpOutputMessage createHttpOutputMessage(NativeWebRequest webRequest) throws Exception { protected HttpOutputMessage createHttpOutputMessage(NativeWebRequest webRequest) throws Exception {
throw new UnsupportedOperationException("@ResponseBody not supported"); throw new UnsupportedOperationException("@Body not supported");
} }
protected String parseDefaultValueAttribute(String value) { protected String parseDefaultValueAttribute(String value) {

Loading…
Cancel
Save