TODO: overview of writing custom integrations
Writing Custom Route Predicate Factories
TODO: document writing Custom Route Predicate Factories
Writing Custom GatewayFilter Factories
为了编写GatewayFilter,您需要实现GatewayFilterFactory。 有一个名为AbstractGatewayFilterFactory的抽象类,您可以扩展它。


要编写自定义全局过滤器,您需要实现GlobalFilter接口。 这将过滤器应用于所有请求。
分别如何设置全局前置和后置过滤器的示例:

Writing Custom Route Locators and Writers
TODO: document writing Custom Route Locators and Writers
网友评论