Interface SlingHttpServletResponseBuilder


  • @ProviderType
    public interface SlingHttpServletResponseBuilder

    Fluent helper for building a response.

    Note: instances of this interface are not thread-safe.

    Since:
    1.0 (Sling API Bundle 2.24.0)
    • Method Detail

      • build

        @NotNull
        @NotNull SlingHttpServletResponseResult build()
        Builds the response. Once this method has been called, the builder must not be used anymore. In order to create a new response a new builder has to be used.
        Returns:
        a response object