Lines Matching defs:interceptor
169 * This flag is set to true when a new interceptor is added.
345 * So when the tubeline consists of X and Y, and when X installs an interceptor,
350 * <li>interceptor gets installed
351 * <li>interceptor.execute() is invoked
355 public void addInterceptor(@NotNull FiberContextSwitchInterceptor interceptor) {
360 interceptors.add(interceptor);
368 * The removal of the interceptor takes effect immediately after the current
374 * So when the tubeline consists of X and Y, and when Y uninstalls an interceptor
378 * <li>Y.processResponse() (notice that this happens with interceptor.execute() in the callstack)
379 * <li>interceptor gets uninstalled
380 * <li>interceptor.execute() returns
385 * true if the specified interceptor was removed. False if
386 * the specified interceptor was not registered with this fiber to begin with.
388 public boolean removeInterceptor(@NotNull FiberContextSwitchInterceptor interceptor) {
389 if(interceptors !=null && interceptors.remove(interceptor)) {
537 FiberContextSwitchInterceptor interceptor = interceptors.get(idx++);
538 return interceptor.execute(Fiber.this,next,this);