servicetalk-http-api/src/main/java/io/servicetalk/http/api/BlockingStreamingHttpServerResponse.java
/**
     * Sends the {@link HttpResponseMetaData} to the client and returns an {@link HttpPayloadWriter} of type {@link T}
     * to continue writing a payload body. Each element will be serialized using provided {@code serializer}.
     * <p>
     * <b>Note:</b> calling any other method on this class after calling this method is not allowed.
     *
     * @param serializer used to serialize the payload elements
     * @param <T> the type of objects to write
     * @return {@link HttpPayloadWriter} to write a payload body
     * @throws IllegalStateException if one of the {@code sendMetaData*} methods has been called on this response
     */
Sends the  HttpResponseMetaData to the client and returns an  HttpPayloadWriter of type  T
to continue writing a payload body. Each element will be serialized using provided  serializer.

Note: calling any other method on this class after calling this method is not allowed.

@param serializer used to serialize the payload elements
@param  the type of objects to write
@return  HttpPayloadWriter to write a payload body
@throws IllegalStateException if one of the  sendMetaData* methods has been called on this response
Sends the HttpResponseMetaData to the client and returns an HttpPayloadWriter of type T to continue writing a payload body . Each element will be serialized using provided serializer . Note : calling any other method on this class after calling this method is not allowed . @param serializer used to serialize the payload elements @param the type of objects to write @return HttpPayloadWriter to write a payload body @throws IllegalStateException if one of the sendMetaData * methods has been called on this response
public final <T> HttpPayloadWriter<T> sendMetaData(final HttpStreamingSerializer<T> serializer) {
        final HttpPayloadWriter<T> payloadWriter = serializer.serialize(headers(), this.payloadWriter, allocator);
        sendMetaData();
        return payloadWriter;
    }
public final < T > HttpPayloadWriter < T > sendMetaData ( final HttpStreamingSerializer < T > serializer ) { final HttpPayloadWriter < T > payloadWriter = serializer . serialize ( headers ( ) , this . payloadWriter , allocator ) ; sendMetaData ( ) ; return payloadWriter ; }
Sends the {@link HttpResponseMetaData} to the client and returns an {@link HttpPayloadWriter} of type {@link T}
 to continue writing a payload body.
Sends the { @link HttpResponseMetaData } to the client and returns an { @link HttpPayloadWriter } of type { @link T } to continue writing a payload body .