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

spring-cloud-starter-gateway

JSON →
library4.3.4javamavenunverified

Spring Cloud Starter for building API gateways on Spring WebFlux, providing routing and filtering capabilities.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artifactId> <version>4.3.4</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-START
S
spring-cloud-starter-gateway
web-frameworkjavav4.3.4
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

Define a simple route in Spring Cloud Gateway.

import org.springframework.cloud.gateway.route.RouteLocator; import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder; import org.springframework.context.annotation.Bean; @Bean public RouteLocator customRouteLocator(RouteLocatorBuilder builder) { return builder.routes() .route("path_route", r -> r.path("/get") .uri("http://httpbin.org")) .build(); }
Debug
Known issues
breakingSpring Cloud Gateway requires Spring WebFlux; it is not compatible with Spring MVC.
fix
Ensure your project uses spring-boot-starter-webflux instead of spring-boot-starter-web.
affects: >=3.0.0
Upgrade
Version history
4.3.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
spring-cloud-starter-gateway — mvn dependency:get spring-cloud-starter-gateway · libregistry