edu.ksu.canvas.errors.ErrorHandler Maven / Gradle / Ivy
package edu.ksu.canvas.errors;
import org.apache.http.HttpRequest;
import org.apache.http.HttpResponse;
/**
* This allows additional specific behaviour for handling errors.
*/
public interface ErrorHandler {
boolean shouldHandle(HttpRequest httpRequest, HttpResponse httpResponse);
void handle(HttpRequest httpRequest, HttpResponse httpResponse);
}