Package io.vrap.rmf.base.client.http
Interface Middleware
- All Known Subinterfaces:
ConcurrentModificationMiddleware
,ErrorMiddleware
,InternalLoggerMiddleware
,NotFoundExceptionMiddleware
,OAuthMiddleware
,PolicyMiddleware
,QueueRequestMiddleware
,RetryRequestMiddleware
,TelemetryMiddleware
- All Known Implementing Classes:
AcceptGZipMiddleware
,DatadogMiddleware
,DatadogMiddleware
,NewRelicTelemetryMiddleware
,OAuthMiddlewareImpl
,OpenTelemetryMiddleware
,PolicyMiddlewareImpl
,QueueMiddleware
,RetryMiddleware
,UserAgentMiddleware
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for a HTTP middleware used to modify a request and the response
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<ApiHttpResponse<byte[]>>
invoke
(ApiHttpRequest request, Function<ApiHttpRequest, CompletableFuture<ApiHttpResponse<byte[]>>> next)
-
Method Details
-
invoke
CompletableFuture<ApiHttpResponse<byte[]>> invoke(ApiHttpRequest request, Function<ApiHttpRequest, CompletableFuture<ApiHttpResponse<byte[]>>> next)
-