Comments (4)
Needs to return HandlerFilterFunction
from spring-cloud-gateway.
Where should HandlerFilterFunction be returned? Could please provide an example?
Thanks
from spring-cloud-gateway.
On mobile, so I can't write a sample. SampleAfterFilterFunctions.java.
from spring-cloud-gateway.
I wrote this code and it worked:
public static HandlerFilterFunction<ServerResponse, ServerResponse> instrument() { return (request, next) -> { System.out.println("After filter function"); ServerResponse response = next.handle(request); return response; }; }
Thank you
from spring-cloud-gateway.
Related Issues (20)
- rewritePath filter double encodes URLs
- Spring Cloud Gateway MVC is using a single http2 connection to downstream
- Spring Cloud Gateway MVC : Multipart + Query Param is not working HOT 3
- Remove Pragma header in ResponseCacheGatewayFilter
- Remove Expires header in ResponseCacheGatewayFilter
- How to monitor client disconnection
- Gateway resolving to http endpoints when microservice is https enabled HOT 5
- Support to redirect with initial request path to the redirected request in RedirectTo filter. HOT 1
- Consider removing `GatewayReactiveOAuth2AutoConfiguration` HOT 1
- Query Params (`request.params()`) being decoded while URI (`request.uri()`) is not when before calling downstream services
- Spring Cloud Gateway MVC does not honor the route "order" attribute
- springcloudgateway memory usage is too large
- I am using azure ad with spring boot application.but getting invalid user error. HOT 1
- Use AdaptCachedBodyGlobalFilter cache request body, routeId must add "ReactiveCompositeDiscoveryClient_"
- RemoveRequestHeaderIfnoExisted
- [online-docs][4.1.5] 404 from link to properties
- Unable to customize ReactiveOAuth2AccessTokenResponseClient for refresh token
- Reporting 0 (instead of null) when no traffic was recorded in spring.cloud.gateway.requests.percentile
- How should I delete it
- Unable to Stream Chunked Response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-gateway.