Polishing
This commit is contained in:
@@ -26,11 +26,10 @@ import org.springframework.http.codec.HttpMessageReader;
|
||||
/**
|
||||
* A function that can extract data from a {@link ReactiveHttpInputMessage} body.
|
||||
*
|
||||
* @param <T> the type of data to extract
|
||||
* @param <M> the type of {@link ReactiveHttpInputMessage} this extractor can be applied to
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @since 5.0
|
||||
* @param <T> the type of data to extract
|
||||
* @param <M> the type of {@link ReactiveHttpInputMessage} this extractor can be applied to
|
||||
* @see BodyExtractors
|
||||
*/
|
||||
@FunctionalInterface
|
||||
|
||||
@@ -28,11 +28,10 @@ import org.springframework.http.codec.HttpMessageWriter;
|
||||
/**
|
||||
* A combination of functions that can populate a {@link ReactiveHttpOutputMessage} body.
|
||||
*
|
||||
* @param <T> the type of data to insert
|
||||
* @param <M> the type of {@link ReactiveHttpOutputMessage} this inserter can be applied to
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @since 5.0
|
||||
* @param <T> the type of data to insert
|
||||
* @param <M> the type of {@link ReactiveHttpOutputMessage} this inserter can be applied to
|
||||
* @see BodyInserters
|
||||
*/
|
||||
@FunctionalInterface
|
||||
|
||||
@@ -26,10 +26,10 @@ import org.springframework.web.reactive.function.server.support.ServerRequestWra
|
||||
/**
|
||||
* Represents a function that filters a {@linkplain HandlerFunction handler function}.
|
||||
*
|
||||
* @param <T> the type of the {@linkplain HandlerFunction handler function} to filter
|
||||
* @param <R> the type of the response of the function
|
||||
* @author Arjen Poutsma
|
||||
* @since 5.0
|
||||
* @param <T> the type of the {@linkplain HandlerFunction handler function} to filter
|
||||
* @param <R> the type of the response of the function
|
||||
* @see RouterFunction#filter(HandlerFilterFunction)
|
||||
*/
|
||||
@FunctionalInterface
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,9 +21,10 @@ import reactor.core.publisher.Mono;
|
||||
/**
|
||||
* Represents a function that handles a {@linkplain ServerRequest request}.
|
||||
*
|
||||
* @param <T> the type of the response of the function
|
||||
* @author Arjen Poutsma
|
||||
* @since 5.0
|
||||
* @param <T> the type of the response of the function
|
||||
* @see RouterFunction
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface HandlerFunction<T extends ServerResponse> {
|
||||
|
||||
@@ -21,9 +21,9 @@ import reactor.core.publisher.Mono;
|
||||
/**
|
||||
* Represents a function that routes to a {@linkplain HandlerFunction handler function}.
|
||||
*
|
||||
* @param <T> the type of the {@linkplain HandlerFunction handler function} to route to
|
||||
* @author Arjen Poutsma
|
||||
* @since 5.0
|
||||
* @param <T> the type of the {@linkplain HandlerFunction handler function} to route to
|
||||
* @see RouterFunctions
|
||||
*/
|
||||
@FunctionalInterface
|
||||
|
||||
Reference in New Issue
Block a user