com.litongjava.tio.http.server.intf.ThrowableHandler Maven / Gradle / Ivy
package com.litongjava.tio.http.server.intf;
import com.litongjava.tio.http.common.HttpRequest;
import com.litongjava.tio.http.common.HttpResponse;
import com.litongjava.tio.http.common.RequestLine;
/**
* @author tanyaowu
*/
public interface ThrowableHandler {
/**
*
* @param request
* @param requestLine
* @param throwable
* @return
* @throws Exception
*/
public HttpResponse handler(HttpRequest request, RequestLine requestLine, Throwable throwable) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy