org.springframework.web.bind.annotation
Annotation Type ResponseBody


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface ResponseBody

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

Since:
3.0
Author:
Arjen Poutsma
See Also:
RequestBody, AnnotationMethodHandlerAdapter