com.webpieces.http2engine.api.error.FarEndClosedConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http2-engine Show documentation
Show all versions of http2-engine Show documentation
A re-usable asynchronous HTTP/2 parser
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