Interface StreamResponse

  • All Known Implementing Classes:

    public interface StreamResponse
    An alternate response from a component event handler method used to directly provide a stream of data to be sent to the client, rather than indicating what page to send a render redirect request to.
    • Method Detail

      • prepareResponse

        void prepareResponse​(Response response)
        Prepares the response before it is sent to the client. This is the place to set any response headers (e.g. content-disposition).
        response - Response that will be sent.