* Remove this interceptor from the given list of interceptors
* @param interceptors the list of interceptos
*/
public static void noStreamCaching(List<InterceptorType> interceptors) {
for (int i = 0; i < interceptors.size(); i++) {
InterceptorType interceptor = interceptors.get(i);
if (interceptor instanceof InterceptorRef
&& ((InterceptorRef)interceptor).getInterceptor() instanceof StreamCachingInterceptor) {
interceptors.remove(interceptor);
}
}