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

dev.vality.woody.api.interceptor.RequestInterceptor 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 RequestInterceptor extends Interceptor {
    /**
     * @return true - if request is successfully intercepted and ready for further processing;
     *      false - if interception failed and processing must be switched to request err handling
     */
    default boolean interceptRequest(TraceData traceData, Object providerContext, Object... contextParams) {
        return intercept(traceData, providerContext, contextParams);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy