Class GatewayRouterFunctionsBuilder
java.lang.Object
org.springframework.cloud.gateway.server.mvc.handler.GatewayRouterFunctionsBuilder
- All Implemented Interfaces:
org.springframework.web.servlet.function.RouterFunctions.Builder
public class GatewayRouterFunctionsBuilder
extends Object
implements org.springframework.web.servlet.function.RouterFunctions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionGatewayRouterFunctionsBuilder(org.springframework.web.servlet.function.RouterFunctions.Builder builder, String routeId) -
Method Summary
Modifier and TypeMethodDescription<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builderadd(org.springframework.web.servlet.function.RouterFunction<T> routerFunction) <T extends org.springframework.web.servlet.function.ServerResponse,R extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builderafter(BiFunction<org.springframework.web.servlet.function.ServerRequest, T, R> responseProcessor) org.springframework.web.servlet.function.RouterFunctions.Builderbefore(Function<org.springframework.web.servlet.function.ServerRequest, org.springframework.web.servlet.function.ServerRequest> requestProcessor) org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse>build()<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builder<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderDELETE(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderDELETE(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderDELETE(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse,R extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builderfilter(org.springframework.web.servlet.function.HandlerFilterFunction<T, R> filterFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builder<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderGET(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderGET(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderGET(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builder<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderHEAD(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderHEAD(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderHEAD(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) org.springframework.web.servlet.function.RouterFunctions.Buildernest(org.springframework.web.servlet.function.RequestPredicate predicate, Consumer<org.springframework.web.servlet.function.RouterFunctions.Builder> builderConsumer) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Buildernest(org.springframework.web.servlet.function.RequestPredicate predicate, Supplier<org.springframework.web.servlet.function.RouterFunction<T>> routerFunctionSupplier) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderonError(Class<? extends Throwable> exceptionType, BiFunction<Throwable, org.springframework.web.servlet.function.ServerRequest, T> responseProvider) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderonError(Predicate<Throwable> predicate, BiFunction<Throwable, org.springframework.web.servlet.function.ServerRequest, T> responseProvider) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderOPTIONS(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderOPTIONS(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderOPTIONS(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderOPTIONS(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builder<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPATCH(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPATCH(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPATCH(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) org.springframework.web.servlet.function.RouterFunctions.Builderpath(String pattern, Consumer<org.springframework.web.servlet.function.RouterFunctions.Builder> builderConsumer) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builderpath(String pattern, Supplier<org.springframework.web.servlet.function.RouterFunction<T>> routerFunctionSupplier) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builder<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPOST(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPOST(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPOST(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builder<T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPUT(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPUT(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.BuilderPUT(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) org.springframework.web.servlet.function.RouterFunctions.Builderresource(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.core.io.Resource resource) org.springframework.web.servlet.function.RouterFunctions.Builderresource(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.core.io.Resource resource, BiConsumer<org.springframework.core.io.Resource, org.springframework.http.HttpHeaders> headersConsumer) org.springframework.web.servlet.function.RouterFunctions.Builderorg.springframework.web.servlet.function.RouterFunctions.Builderresources(String pattern, org.springframework.core.io.Resource location, BiConsumer<org.springframework.core.io.Resource, org.springframework.http.HttpHeaders> headersConsumer) org.springframework.web.servlet.function.RouterFunctions.Builderresources(Function<org.springframework.web.servlet.function.ServerRequest, Optional<org.springframework.core.io.Resource>> lookupFunction) org.springframework.web.servlet.function.RouterFunctions.Builderresources(Function<org.springframework.web.servlet.function.ServerRequest, Optional<org.springframework.core.io.Resource>> lookupFunction, BiConsumer<org.springframework.core.io.Resource, org.springframework.http.HttpHeaders> headersConsumer) <T extends org.springframework.web.servlet.function.ServerResponse>
org.springframework.web.servlet.function.RouterFunctions.Builderroute(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) org.springframework.web.servlet.function.RouterFunctions.BuilderwithAttribute(String name, Object value) org.springframework.web.servlet.function.RouterFunctions.BuilderwithAttributes(Consumer<Map<String, Object>> attributesConsumer)
-
Constructor Details
-
GatewayRouterFunctionsBuilder
public GatewayRouterFunctionsBuilder(org.springframework.web.servlet.function.RouterFunctions.Builder builder, String routeId)
-
-
Method Details
-
build
public org.springframework.web.servlet.function.RouterFunction<org.springframework.web.servlet.function.ServerResponse> build()- Specified by:
buildin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
GET
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder GET(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
GETin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
GET
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder GET(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
GETin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
GET
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder GET(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
GETin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
GET
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder GET(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
GETin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
HEAD
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder HEAD(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
HEADin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
HEAD
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder HEAD(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
HEADin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
HEAD
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder HEAD(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
HEADin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
HEAD
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder HEAD(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
HEADin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
POST
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder POST(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
POSTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
POST
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder POST(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
POSTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
POST
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder POST(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
POSTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
POST
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder POST(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
POSTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PUT
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PUT(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PUTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PUT
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PUT(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PUTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PUT
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PUT(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PUTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PUT
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PUT(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PUTin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PATCH
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PATCH(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PATCHin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PATCH
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PATCH(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PATCHin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PATCH
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PATCH(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PATCHin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
PATCH
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder PATCH(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
PATCHin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
DELETE
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder DELETE(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
DELETEin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
DELETE
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder DELETE(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
DELETEin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
DELETE
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder DELETE(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
DELETEin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
DELETE
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder DELETE(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
DELETEin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
OPTIONS
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder OPTIONS(org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
OPTIONSin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
OPTIONS
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder OPTIONS(String pattern, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
OPTIONSin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
OPTIONS
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder OPTIONS(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
OPTIONSin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
OPTIONS
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder OPTIONS(String pattern, org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
OPTIONSin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
route
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder route(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.web.servlet.function.HandlerFunction<T> handlerFunction) - Specified by:
routein interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
add
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder add(org.springframework.web.servlet.function.RouterFunction<T> routerFunction) - Specified by:
addin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
resource
public org.springframework.web.servlet.function.RouterFunctions.Builder resource(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.core.io.Resource resource) - Specified by:
resourcein interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
resource
public org.springframework.web.servlet.function.RouterFunctions.Builder resource(org.springframework.web.servlet.function.RequestPredicate predicate, org.springframework.core.io.Resource resource, BiConsumer<org.springframework.core.io.Resource, org.springframework.http.HttpHeaders> headersConsumer) - Specified by:
resourcein interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
resources
public org.springframework.web.servlet.function.RouterFunctions.Builder resources(String pattern, org.springframework.core.io.Resource location) - Specified by:
resourcesin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
resources
public org.springframework.web.servlet.function.RouterFunctions.Builder resources(Function<org.springframework.web.servlet.function.ServerRequest, Optional<org.springframework.core.io.Resource>> lookupFunction) - Specified by:
resourcesin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
resources
public org.springframework.web.servlet.function.RouterFunctions.Builder resources(String pattern, org.springframework.core.io.Resource location, BiConsumer<org.springframework.core.io.Resource, org.springframework.http.HttpHeaders> headersConsumer) - Specified by:
resourcesin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
resources
public org.springframework.web.servlet.function.RouterFunctions.Builder resources(Function<org.springframework.web.servlet.function.ServerRequest, Optional<org.springframework.core.io.Resource>> lookupFunction, BiConsumer<org.springframework.core.io.Resource, org.springframework.http.HttpHeaders> headersConsumer) - Specified by:
resourcesin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
nest
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder nest(org.springframework.web.servlet.function.RequestPredicate predicate, Supplier<org.springframework.web.servlet.function.RouterFunction<T>> routerFunctionSupplier) - Specified by:
nestin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
nest
public org.springframework.web.servlet.function.RouterFunctions.Builder nest(org.springframework.web.servlet.function.RequestPredicate predicate, Consumer<org.springframework.web.servlet.function.RouterFunctions.Builder> builderConsumer) - Specified by:
nestin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
path
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder path(String pattern, Supplier<org.springframework.web.servlet.function.RouterFunction<T>> routerFunctionSupplier) - Specified by:
pathin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
path
public org.springframework.web.servlet.function.RouterFunctions.Builder path(String pattern, Consumer<org.springframework.web.servlet.function.RouterFunctions.Builder> builderConsumer) - Specified by:
pathin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
filter
public <T extends org.springframework.web.servlet.function.ServerResponse,R extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder filter(org.springframework.web.servlet.function.HandlerFilterFunction<T, R> filterFunction) - Specified by:
filterin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
before
public org.springframework.web.servlet.function.RouterFunctions.Builder before(Function<org.springframework.web.servlet.function.ServerRequest, org.springframework.web.servlet.function.ServerRequest> requestProcessor) - Specified by:
beforein interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
after
public <T extends org.springframework.web.servlet.function.ServerResponse,R extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder after(BiFunction<org.springframework.web.servlet.function.ServerRequest, T, R> responseProcessor) - Specified by:
afterin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
onError
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder onError(Predicate<Throwable> predicate, BiFunction<Throwable, org.springframework.web.servlet.function.ServerRequest, T> responseProvider) - Specified by:
onErrorin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
onError
public <T extends org.springframework.web.servlet.function.ServerResponse> org.springframework.web.servlet.function.RouterFunctions.Builder onError(Class<? extends Throwable> exceptionType, BiFunction<Throwable, org.springframework.web.servlet.function.ServerRequest, T> responseProvider) - Specified by:
onErrorin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
withAttribute
public org.springframework.web.servlet.function.RouterFunctions.Builder withAttribute(String name, Object value) - Specified by:
withAttributein interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-
withAttributes
public org.springframework.web.servlet.function.RouterFunctions.Builder withAttributes(Consumer<Map<String, Object>> attributesConsumer) - Specified by:
withAttributesin interfaceorg.springframework.web.servlet.function.RouterFunctions.Builder
-