Skip to content

Renderable message body writer #1

Open
@pun-ky

Description

@pun-ky

To render view in a controller, currently, we write:

return view("bundle://some/path/template.peb").render()

why not just

return view("bundle://some/path/template.peb");

interface View : Renderable

then just write new MessageBodyWriter https://jersey.java.net/documentation/latest/message-body-workers.html for Renderable types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions