Interface ObjectResponse<T>

  • All Known Implementing Classes:
    MockObjectResponse

    public interface ObjectResponse<T>

    Dependency injected interface to send the Object response.

    See HttpResponse for decorating the HTTP response. May also inject ServerHttpConnection for dynamic decorating.

    Author:
    Daniel Sagenschneider
    • Method Detail

      • send

        void send​(T object)
           throws HttpException
        Sends the Object.
        Parameters:
        object - Object to send as response.
        Throws:
        HttpException - If fails to send the Object.