public class CompositeHttpResponseInterceptor extends Object implements HttpResponseInterceptor
HttpResponseInterceptor that executes the list of HttpResponseInterceptor.| Constructor and Description |
|---|
CompositeHttpResponseInterceptor(List<HttpResponseInterceptor> httpResponseInterceptors) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.http.api.domain.message.response.HttpResponse |
intercept(HttpRequest httpRequest,
org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse)
Process an
HttpResponse and generate a new one or return the one provided. |
public CompositeHttpResponseInterceptor(List<HttpResponseInterceptor> httpResponseInterceptors)
public org.mule.runtime.http.api.domain.message.response.HttpResponse intercept(HttpRequest httpRequest, org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse)
HttpResponseInterceptorHttpResponse and generate a new one or return the one provided.intercept in interface HttpResponseInterceptorhttpRequest - the HTTP request that was executed against the server.httpResponse - the server response to be intercepted. Entity's content could not be read more than once, so
implementations should address this when content needs to be accessed more than once.HttpResponse.Copyright © 2022. All rights reserved.