Package io.avaje.http.api
Annotation Type Produces
Specify endpoint response media type.
When not specified the default MediaType is APPLICATION_JSON
so we specify this on controllers or methods where the responses
return a different media type.
@Produces(MediaType.TEXT_PLAIN)
@Path("/customers")
class CustomerController {
...
}
-
Required Element Summary
Required Elements
-
Element Details
-
value
-