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

com.webpieces.http2engine.api.error.FarEndClosedConnection Maven / Gradle / Ivy

There is a newer version: 2.1.109
Show newest version
package com.webpieces.http2engine.api.error;

import com.webpieces.http2.api.dto.error.CancelReasonCode;

public class FarEndClosedConnection implements ConnReset2 {

	private String message;

	public FarEndClosedConnection(String reason) {
		this.message = reason;
	}

	@Override
	public CancelReasonCode getReasonCode() {
		return CancelReasonCode.REMOTE_CLOSED_SOCKET;
	}

	public String getReason() {
		return message;
	}

	@Override
	public String toString() {
		return "FarEndClosedConnection [message=" + message + "]";
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy