/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }
/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }
/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }
/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }
/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }
/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }
/** * Get all reader interceptors applicable to this request. * This is populated once the right resource method is matched. * * @return All reader interceptors applicable to the matched inflector (or an empty * collection if no inflector matched yet). */ @Override protected Iterable<ReaderInterceptor> getReaderInterceptors() { final Inflector<RequestProcessingContext, ContainerResponse> inflector = getInflector(); return inflector instanceof ResourceMethodInvoker ? ((ResourceMethodInvoker) inflector).getReaderInterceptors() : processingProviders.getSortedGlobalReaderInterceptors(); }