Interface ResourceCustomizer

    • Method Detail

      • beforeHeadersSent

        default void beforeHeadersSent​(MuRequest request,
                                       Headers responseHeaders)
        Called after the default headers have been set, just before they are sent to the client. Changing the passed in headers map will change the response headers sent to the client.
        Parameters:
        request - The client request
        responseHeaders - The headers that will be sent to the client, which can be modified in this method