Interface RenderingResponse

    • Method Detail

      • name

        String name()
        Return the name of the template to be rendered.
      • from

        static RenderingResponse.Builder from​(RenderingResponse other)
        Create a builder with the template name, status code, headers and model of the given response.
        Parameters:
        other - the response to copy the values from
        Returns:
        the created builder
      • create

        static RenderingResponse.Builder create​(String name)
        Create a builder with the given template name.
        Parameters:
        name - the name of the template to render
        Returns:
        the created builder