Commit Graph

11 Commits

Author SHA1 Message Date
spencergibb
6690c79a2d Migrate server-webmvc properties to new namespace
See gh-3647
2025-05-22 16:22:29 -04:00
Spencer Gibb
ac5e8f7cec Allow bean registration of server-webmcv components (#3763)
* Allow bean registration of server-webmcv components

This replaces the spring.factories mechanism.

* Adds support for loading FilterSuppliers via beans

* Adds support for loading PredicateSuppliers via beans

* Use beanFactory conversionService

Fixes gh-3250
2025-04-21 15:28:18 -04:00
spencergibb
beab6a8a3e Merge branch '4.2.x' 2025-03-28 15:20:44 -04:00
spencergibb
f6f90df404 For lb: scheme, put associated filters last.
This makes sure the lb filter runs after path modifying filters like stripPrefix.

See gh-3443
2025-03-17 16:17:07 -04:00
Ryan Baxter
9ac4b42daa Merge pull request #3627 from Ebolo1/Doc-spring-api-gateway-server-mvc
small grammatical issue
2025-03-13 14:32:08 -04:00
Ryan Baxter
ff60af89be Merge pull request #3701 from Tripathiaman2511/main
Adding fix in java-based implementation of addRequestHeader for SCG server mvc
2025-03-12 17:20:03 -04:00
anil.senocak
b1aecf3dd5 importing RequestPredicate from reactive changed to servlet
Signed-off-by: anil.senocak <anil.senocak@turkcell.com.tr>
2025-03-12 08:45:00 +03:00
Aman Tripathi
0c60e9e389 Update addrequestheader.adoc
After reading the following documentation, I was getting error over before method - The method before(Function<ServerRequest,ServerRequest>) is undefined for the type RouterFunction.

Using this java-based configuration it solved the error.

Signed-off-by: Aman Tripathi <iamtripathi.25@gmail.com>
2025-02-23 23:44:07 +05:30
ehesmiley
4c8431e67d Merge branch 'main' of https://github.com/Ebolo1/spring-cloud-gateway into Doc-spring-api-gateway-server-mvc 2025-02-19 15:12:18 +01:00
spencergibb
ccde721be5 Merge branch '4.2.x' 2025-02-11 19:40:31 -05:00
Spencer Gibb
037abaeb26 New module names (#3645)
* New naming convention using webflux and webmvc

The new suffixes are gateway-server-web{flux|mvc} and gateway-proxyexchange-web{flux|mvc}.

This commit updates the starters to use gateway-server-web{flux|mvc} suffixes.

* Adds new spring-cloud-gateway-server-web{flux|mvc} modules.

These simply depend on the old ones. A warning is logged if not using the new module.

* Adds s-c-g-proxyexchange-{webflux|webmvc} modules

* Updates docs for  s-c-g-{proxyexchange|server}-{webflux|webmvc} modules
2025-01-16 21:26:10 -05:00