Polish
This commit is contained in:
parent
99c7917124
commit
1bf828a149
|
@ -53,7 +53,7 @@ public interface ReactiveHttpOutputMessage extends HttpMessage {
|
||||||
* Use the given {@link Publisher} to write the body of the message to the underlying
|
* Use the given {@link Publisher} to write the body of the message to the underlying
|
||||||
* HTTP layer.
|
* HTTP layer.
|
||||||
* @param body the body content publisher
|
* @param body the body content publisher
|
||||||
* @return a publisher that indicates completion or error.
|
* @return a {@link Mono} that indicates completion or error
|
||||||
*/
|
*/
|
||||||
Mono<Void> writeWith(Publisher<DataBuffer> body);
|
Mono<Void> writeWith(Publisher<DataBuffer> body);
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ public interface ReactiveHttpOutputMessage extends HttpMessage {
|
||||||
* message to the underlying HTTP layer, flushing after each
|
* message to the underlying HTTP layer, flushing after each
|
||||||
* {@code Publisher<DataBuffer>}.
|
* {@code Publisher<DataBuffer>}.
|
||||||
* @param body the body content publisher
|
* @param body the body content publisher
|
||||||
* @return a publisher that indicates completion or error.
|
* @return a {@link Mono} that indicates completion or error
|
||||||
*/
|
*/
|
||||||
Mono<Void> writeAndFlushWith(Publisher<Publisher<DataBuffer>> body);
|
Mono<Void> writeAndFlushWith(Publisher<Publisher<DataBuffer>> body);
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ public interface ReactiveHttpOutputMessage extends HttpMessage {
|
||||||
* <p>This method should be automatically invoked at the end of message
|
* <p>This method should be automatically invoked at the end of message
|
||||||
* processing so typically applications should not have to invoke it.
|
* processing so typically applications should not have to invoke it.
|
||||||
* If invoked multiple times it should have no side effects.
|
* If invoked multiple times it should have no side effects.
|
||||||
|
* @return a {@link Mono} that indicates completion or error
|
||||||
*/
|
*/
|
||||||
Mono<Void> setComplete();
|
Mono<Void> setComplete();
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ public interface HttpMessageWriter<T> {
|
||||||
* type of the converter must be used.
|
* type of the converter must be used.
|
||||||
* @param outputMessage the message to write to
|
* @param outputMessage the message to write to
|
||||||
* @param hints additional information about how to write
|
* @param hints additional information about how to write
|
||||||
* @return the converted {@link Mono} of object
|
* @return a {@link Mono} that indicates completion or error
|
||||||
*/
|
*/
|
||||||
Mono<Void> write(Publisher<? extends T> inputStream, ResolvableType elementType,
|
Mono<Void> write(Publisher<? extends T> inputStream, ResolvableType elementType,
|
||||||
MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints);
|
MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints);
|
||||||
|
|
Loading…
Reference in New Issue