Registry / web-framework / spring-cloud-gateway-server

spring-cloud-gateway-server

JSON →
library4.3.5javamavenunverified

Spring Cloud Gateway Server provides an API gateway built on Spring WebFlux for routing and filtering requests.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-gateway-server</artifactId> <version>4.3.5</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-GATEW
S
spring-cloud-gateway-server
web-frameworkjavav4.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RouteLocator
✓ org.springframework.cloud.gateway.route.RouteLocator

Defines a simple route that forwards requests to an external URI.

import org.springframework.cloud.gateway.route.RouteLocator; import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class Quickstart { @Bean public RouteLocator customRouteLocator(RouteLocatorBuilder builder) { return builder.routes() .route("example", r -> r.path("/example/**") .uri("https://example.org")) .build(); } }
Debug
Known issues
breakingSpring Cloud Gateway requires Spring WebFlux and does not work with Spring MVC.
fix
Ensure your project uses Spring WebFlux (e.g., spring-boot-starter-webflux) instead of spring-boot-starter-web.
affects: all
Upgrade
Version history
4.3.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
spring-cloud-gateway-server — mvn dependency:get spring-cloud-gateway-server · libregistry