You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use the {@link io.vertx.httpproxy.interceptors.HeadInterceptor} to change HTTP request/response heads:
146
+
You can use {@link io.vertx.httpproxy.ProxyInterceptor#builder()} that facilitates the implementation of an interceptor
147
+
that modifies the request/response heads and bodies:
147
148
148
149
- request path
149
150
- query params
150
151
- request and response headers
152
+
- body transformation
151
153
152
-
A {@link io.vertx.httpproxy.interceptors.HeadInterceptor} is created and configured with a {@link io.vertx.httpproxy.interceptors.HeadInterceptorBuilder}.
153
-
154
-
The builder methods can be invoked several times.
155
-
Operations on the path will be invoked in the order of configuration.
156
-
That goes for operations on query parameters, request headers and response headers.
154
+
Such interceptor is created and configured with a {@link io.vertx.httpproxy.ProxyInterceptorBuilder}.
157
155
158
156
===== Headers interception
159
157
@@ -164,7 +162,9 @@ You can apply the interceptor to change headers from the request and response wi
0 commit comments