äsidentin
}})
definePartial solids-PredictionsPassclearTimeout(‘
})(
Persistence玷
What are the parameters used in the `RedirectTo` filter and their purposes?
The `RedirectTo` filter in Spring Cloud Gateway is used to redirect requests to a different URL.
Here’s a breakdown based on the provided documentation [[1](https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway-server-mvc/filters/redirectto.html)]:
* **Parameters:**
* **status:** This parameter specifies the HTTP status code for the redirect response. It should be a 300-series code, such as `301` (Moved Permanently) or `302` (Found).
* **url:** This parameter defines the target URL where the request should be redirected. Make sure this is a valid URL.
* **Relative Redirects:** For redirects relative to your route definition, use `uri: no://op` as the `uri` in your route definition.
* **Example Configuration:** The documentation provides an example of how to configure a `RedirectTo` filter.
Let me know if you have any other questions about Spring Cloud Gateway or the `RedirectTo` filter.