All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.ksu.canvas.errors.ErrorHandler Maven / Gradle / Ivy

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy