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

org.openas2.processor.sender.HttpResponseException Maven / Gradle / Ivy

Go to download

Open source implementation of the AS2 standard for signed encrypted and compressed document transfer

There is a newer version: 2.10.1
Show newest version
package org.openas2.processor.sender;

import org.openas2.OpenAS2Exception;

public class HttpResponseException extends OpenAS2Exception {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String message;
    private String url;
    private int code;

    public HttpResponseException(String url, int code, String message) {
        super("Http Response from " + url + ": " + Integer.toString(code) + " - " + message);
        this.code = code;
        this.message = message;
        this.url = url;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy