Initial working implementation of HLS proxy
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
package com.backend.hls.proxy.exception;
|
||||
|
||||
import java.net.http.HttpResponse;
|
||||
|
||||
public class FetchFailException extends Exception {
|
||||
private final HttpResponse<?> response;
|
||||
|
||||
public FetchFailException(String message, HttpResponse<?> response) {
|
||||
super(message);
|
||||
this.response = response;
|
||||
}
|
||||
|
||||
public HttpResponse<?> getResponse() {
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user