Top Description Methods
org.springframework.web.bind.annotation

public @Interface ResponseBody

extends Annotation
Annotations
@Target:TYPE, METHOD
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Annotation that indicates a method return value should be bound to the web response body. Supported for annotated handler methods.

As of version 4.0 this annotation can also be added on the type level in which case it is inherited and does not need to be added on the method level.

Author
Arjen Poutsma
Since
3.0
See Also
RequestBody, RestController

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString