All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.vality.woody.api.interceptor.ResponseInterceptor Maven / Gradle / Ivy

There is a newer version: 2.0.8
Show newest version
package dev.vality.woody.api.interceptor;

import dev.vality.woody.api.trace.TraceData;

public interface ResponseInterceptor extends Interceptor {
    /**
     * @return true - if response is successfully intercepted and ready for further processing;
     *      false - if interception failed and processing must be switched to response err handling
     */
    default boolean interceptResponse(TraceData traceData, Object providerContext, Object... contextParams) {
        return intercept(traceData, providerContext, contextParams);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy