/** * Add an interceptor for this call only. * * @param interceptor The interceptor to add to this call. * @return This object (for method chaining). */ public RestCall interceptor(RestCallInterceptor interceptor) { interceptors.add(interceptor); interceptor.onInit(this); return this; }
/** * Add an interceptor for this call only. * * @param interceptor The interceptor to add to this call. * @return This object (for method chaining). */ public RestCall interceptor(RestCallInterceptor interceptor) { interceptors.add(interceptor); interceptor.onInit(this); return this; }
/** * Add an interceptor for this call only. * * @param interceptor The interceptor to add to this call. * @return This object (for method chaining). */ public RestCall interceptor(RestCallInterceptor interceptor) { interceptors.add(interceptor); interceptor.onInit(this); return this; }