Blame | Last modification | View Log | RSS feed
// Copyright 2011 Google Inc. All rights reserved.package com.android.volley.utils;import com.android.volley.ExecutorDelivery;import java.util.concurrent.Executor;/*** A ResponseDelivery for testing that immediately delivers responses* instead of posting back to the main thread.*/public class ImmediateResponseDelivery extends ExecutorDelivery {public ImmediateResponseDelivery() {super(new Executor() {@Overridepublic void execute(Runnable command) {command.run();}});}}