| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private String | |
| private final Throwable | |
| private String | |
| private final IOException |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Http2TerminationCause | forException(final Throwable
the termination cause, cannot be null. cause)Returns a connection termination cause that represents an
abnormal termination due to the given |
| public static Http2TerminationCause | forH2Error(final int
the error code errorCode, final String optional log message to be associated with this termination cause loggedAs)Returns a connection termination cause that represents an
abnormal termination due to the given |
| public final IOException | |
| public final int | getCloseCode()
Returns the error code (specified for HTTP/2 ErrorFrame) that caused the connection termination. |
| public final String | |
| public final String | |
| public static Http2TerminationCause | idleTimedOut()
Returns a connection termination cause that represents a normal termination due to the connection being idle. |
| public abstract boolean | |
| public static Http2TerminationCause | |
| protected final void | setPeerVisibleReason(final String reasonPhrase)
Sets the connection termination cause, represented as a string, which will be sent to the peer in a GOAWAY frame. |
| private static IOException |
| closeCode | back to summary |
|---|---|
| private final int closeCode | |
| logMsg | back to summary |
|---|---|
| private String logMsg | |
| originalCause | back to summary |
|---|---|
| private final Throwable originalCause | |
| peerVisibleReason | back to summary |
|---|---|
| private String peerVisibleReason | |
| reportedCause | back to summary |
|---|---|
| private final IOException reportedCause | |
| Http2TerminationCause | back to summary |
|---|---|
| private Http2TerminationCause(final int closeCode, final Throwable closeCause) | |
| Http2TerminationCause | back to summary |
|---|---|
| private Http2TerminationCause(final int closeCode, final String loggedAs) | |
| forException | back to summary |
|---|---|
| public static Http2TerminationCause forException(final Throwable cause) Returns a connection termination cause that represents an
abnormal termination due to the given
| |
| forH2Error | back to summary |
|---|---|
| public static Http2TerminationCause forH2Error(final int errorCode, final String loggedAs) Returns a connection termination cause that represents an
abnormal termination due to the given
| |
| getCloseCause | back to summary |
|---|---|
| public final IOException getCloseCause() Returns the | |
| getCloseCode | back to summary |
|---|---|
| public final int getCloseCode() Returns the error code (specified for HTTP/2 ErrorFrame) that caused the connection termination. | |
| getLogMsg | back to summary |
|---|---|
| public final String getLogMsg() Returns the connection termination cause, represented as a string. Unlike the peer-visible reason, this log message will not be sent across to the peer and it is thus allowed to include additional details that might help debugging a connection termination. | |
| getPeerVisibleReason | back to summary |
|---|---|
| public final String getPeerVisibleReason() Returns the connection termination cause, represented as a string. This represents the "debugData" that is sent to the peer in a GOAWAY frame. | |
| idleTimedOut | back to summary |
|---|---|
| public static Http2TerminationCause idleTimedOut() Returns a connection termination cause that represents a normal termination due to the connection being idle. | |
| isAbnormalClose | back to summary |
|---|---|
| public abstract boolean isAbnormalClose() Returns | |
| noErrorTermination | back to summary |
|---|---|
| public static Http2TerminationCause noErrorTermination() Returns a connection termination cause that represents a normal termination. | |
| setPeerVisibleReason | back to summary |
|---|---|
| protected final void setPeerVisibleReason(final String reasonPhrase) Sets the connection termination cause, represented as a string, which will be sent
to the peer in a GOAWAY frame.
Unlike the | |
| toReportedCause | back to summary |
|---|---|
| private static IOException toReportedCause(final Throwable original, final String fallbackExceptionMsg) | |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isAbnormalClose()
Implements abstract jdk. Returns |
| public String |
| H2StandardError | back to summary |
|---|---|
| private H2StandardError(final int errCode, final String msg) | |
| H2StandardError | back to summary |
|---|---|
| private H2StandardError(final int errCode, final Throwable cause) | |
| isAbnormalClose | back to summary |
|---|---|
| public boolean isAbnormalClose() Implements abstract jdk. Doc from jdk. Returns
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isAbnormalClose()
Implements abstract jdk. Returns |
| public String |
| InternalError | back to summary |
|---|---|
| private InternalError(final Throwable cause) | |
| isAbnormalClose | back to summary |
|---|---|
| public boolean isAbnormalClose() Implements abstract jdk. Doc from jdk. Returns
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final Http2TerminationCause. | |
| private final boolean | |
| private static final Http2TerminationCause. | |
| private static final IOException | |
| private static final IOException |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isAbnormalClose()
Implements abstract jdk. Returns |
| public String |
| IDLE_TIMED_OUT | back to summary |
|---|---|
| private static final Http2TerminationCause. | |
| idleTimedOut | back to summary |
|---|---|
| private final boolean idleTimedOut | |
| INSTANCE | back to summary |
|---|---|
| private static final Http2TerminationCause. | |
| NO_ERROR_IDLE_TIMED_OUT_MARKER | back to summary |
|---|---|
| private static final IOException NO_ERROR_IDLE_TIMED_OUT_MARKER | |
| NO_ERROR_MARKER | back to summary |
|---|---|
| private static final IOException NO_ERROR_MARKER | |
| NoError | back to summary |
|---|---|
| private NoError(final boolean idleTimedOut) | |
| isAbnormalClose | back to summary |
|---|---|
| public boolean isAbnormalClose() Implements abstract jdk. Doc from jdk. Returns
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isAbnormalClose()
Overrides jdk. Returns |
| public String | toString()
Overrides jdk. Returns a string representation of the object. |
| ProtocolError | back to summary |
|---|---|
| private ProtocolError(final String msg) | |
| ProtocolError | back to summary |
|---|---|
| private ProtocolError(final String msg, final boolean flowControlError) | |
| ProtocolError | back to summary |
|---|---|
| private ProtocolError(final ProtocolException pe) | |
| isAbnormalClose | back to summary |
|---|---|
| public boolean isAbnormalClose() Overrides jdk. Doc from jdk. Returns
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |