|
|
|
@ -38,8 +38,6 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
/**
|
|
|
|
|
* On subscription of the returned {@link Observable}, writes the passed message stream on the underneath channel.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Flush</h2>
|
|
|
|
|
*
|
|
|
|
|
* The writes are flushed when the passed stream completes.
|
|
|
|
|
*
|
|
|
|
|
* @param msgs Stream of messages to write.
|
|
|
|
@ -57,14 +55,10 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
* {@code trailerMutator} will be invoked for every item emitted from the content source, giving a chance to modify
|
|
|
|
|
* the trailing headers instance.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Multiple invocations</h2>
|
|
|
|
|
*
|
|
|
|
|
* This method can <em>not</em> be invoked multiple times for the same response as on completion of the passed
|
|
|
|
|
* source, it writes the trailing headers and trailing headers can only be written once for an HTTP response.
|
|
|
|
|
* So, any subsequent invocation of this method will always emit an error when subscribed.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Flush</h2>
|
|
|
|
|
*
|
|
|
|
|
* The writes are flushed when the passed stream completes.
|
|
|
|
|
*
|
|
|
|
|
* @param contentSource Content source for the response.
|
|
|
|
@ -85,8 +79,6 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
* {@code trailerMutator} will be invoked for every item emitted from the content source, giving a chance to modify
|
|
|
|
|
* the trailing headers instance.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Multiple invocations</h2>
|
|
|
|
|
*
|
|
|
|
|
* This method can <em>not</em> be invoked multiple times for the same response as on completion of the passed
|
|
|
|
|
* source, it writes the trailing headers and trailing headers can only be written once for an HTTP response.
|
|
|
|
|
* So, any subsequent invocation of this method will always emit an error when subscribed.
|
|
|
|
@ -137,8 +129,6 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
/**
|
|
|
|
|
* On subscription of the returned {@link Observable}, writes the passed message stream on the underneath channel.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Flush</h2>
|
|
|
|
|
*
|
|
|
|
|
* The writes are flushed when the passed stream completes.
|
|
|
|
|
*
|
|
|
|
|
* @param msgs Stream of messages to write.
|
|
|
|
@ -156,14 +146,10 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
* {@code trailerMutator} will be invoked for every item emitted from the content source, giving a chance to modify
|
|
|
|
|
* the trailing headers instance.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Multiple invocations</h2>
|
|
|
|
|
*
|
|
|
|
|
* This method can <em>not</em> be invoked multiple times for the same response as on completion of the passed
|
|
|
|
|
* source, it writes the trailing headers and trailing headers can only be written once for an HTTP response.
|
|
|
|
|
* So, any subsequent invocation of this method will always emit an error when subscribed.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Flush</h2>
|
|
|
|
|
*
|
|
|
|
|
* The writes are flushed when the passed stream completes.
|
|
|
|
|
*
|
|
|
|
|
* @param contentSource Content source for the response.
|
|
|
|
@ -184,8 +170,6 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
* {@code trailerMutator} will be invoked for every item emitted from the content source, giving a chance to modify
|
|
|
|
|
* the trailing headers instance.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Multiple invocations</h2>
|
|
|
|
|
*
|
|
|
|
|
* This method can <em>not</em> be invoked multiple times for the same response as on completion of the passed
|
|
|
|
|
* source, it writes the trailing headers and trailing headers can only be written once for an HTTP response.
|
|
|
|
|
* So, any subsequent invocation of this method will always emit an error when subscribed.
|
|
|
|
@ -236,8 +220,6 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
/**
|
|
|
|
|
* On subscription of the returned {@link Observable}, writes the passed message stream on the underneath channel.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Flush</h2>
|
|
|
|
|
*
|
|
|
|
|
* The writes are flushed when the passed stream completes.
|
|
|
|
|
*
|
|
|
|
|
* @param msgs Stream of messages to write.
|
|
|
|
@ -255,14 +237,10 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
* {@code trailerMutator} will be invoked for every item emitted from the content source, giving a chance to modify
|
|
|
|
|
* the trailing headers instance.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Multiple invocations</h2>
|
|
|
|
|
*
|
|
|
|
|
* This method can <em>not</em> be invoked multiple times for the same response as on completion of the passed
|
|
|
|
|
* source, it writes the trailing headers and trailing headers can only be written once for an HTTP response.
|
|
|
|
|
* So, any subsequent invocation of this method will always emit an error when subscribed.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Flush</h2>
|
|
|
|
|
*
|
|
|
|
|
* The writes are flushed when the passed stream completes.
|
|
|
|
|
*
|
|
|
|
|
* @param contentSource Content source for the response.
|
|
|
|
@ -283,8 +261,6 @@ public abstract class ResponseContentWriter<C> extends Observable<Void> {
|
|
|
|
|
* {@code trailerMutator} will be invoked for every item emitted from the content source, giving a chance to modify
|
|
|
|
|
* the trailing headers instance.
|
|
|
|
|
*
|
|
|
|
|
* <h2>Multiple invocations</h2>
|
|
|
|
|
*
|
|
|
|
|
* This method can <em>not</em> be invoked multiple times for the same response as on completion of the passed
|
|
|
|
|
* source, it writes the trailing headers and trailing headers can only be written once for an HTTP response.
|
|
|
|
|
* So, any subsequent invocation of this method will always emit an error when subscribed.
|
|
|
|
|