Examples are in their own configuration file in src/main/java/com/example/gatewaymvcsample/Route*.java
. The name of the class describes the predicate and/or filter being showcased.
There are also two routes, /hello
and /hi
, defined purely in Webmvc.fn in GatewayMvcApplication
.
Run TestGatewayMvcApplication which uses Testcontainers to run a local httpbin.org.
Each file has some httpie commands to run to see it in action, such as:
or