Interface ResponseRenderer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ResponseRenderer
    Formats an object returned by a RouteHandler into a string suitable for the body of an HTTP response.
    • Method Detail

      • render

        java.lang.String render​(java.lang.Object model)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception