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

io.higgs.http.client.ProxyConnectionException Maven / Gradle / Ivy

package io.higgs.http.client;

import io.netty.handler.codec.http.HttpResponse;

/**
 * @author Courtney Robinson 
 */
public class ProxyConnectionException extends RuntimeException {
    private final HttpResponse res;

    public ProxyConnectionException(String message, HttpResponse res) {
        super(message);
        this.res = res;
    }

    /**
     * @return The HTTP response returned by the proxy
     */
    public HttpResponse getProxyResponse() {
        return res;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy