Connection was closed.
| Modifier and Type | Field and Description |
|---|---|
| private final IOException | |
| private static final IOException | |
| public static final CloseReason | |
| private static final IOException | |
| public static final CloseReason | |
| private final CloseType |
| Access | Constructor and Description |
|---|---|
| public | CloseReason(final CloseType type, final IOException cause)
References Deprecated
CloseType is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| public IOException | Returns: information about an error, that caused theConnection to be closedReturns information about an error, that caused the |
| public CloseType | Returns: information whetherConnection was closed locally or remotely
References Deprecated
CloseType is deprecated or references (maybe indirectly) at least one deprecated element.
Return information whether |
| public String |
| cause | back to summary |
|---|---|
| private final IOException cause | |
| LOCALLY_CLOSED | back to summary |
|---|---|
| private static final IOException LOCALLY_CLOSED | |
| LOCALLY_CLOSED_REASON | back to summary |
|---|---|
| public static final CloseReason LOCALLY_CLOSED_REASON | |
| REMOTELY_CLOSED | back to summary |
|---|---|
| private static final IOException REMOTELY_CLOSED | |
| REMOTELY_CLOSED_REASON | back to summary |
|---|---|
| public static final CloseReason REMOTELY_CLOSED_REASON | |
| type | back to summary |
|---|---|
| private final CloseType type
References Deprecated
See corresponding docs for further information. | |
| CloseReason | back to summary |
|---|---|
| public CloseReason(final CloseType type, final IOException cause)
References Deprecated
See corresponding docs for further information. | |
| getCause | back to summary |
|---|---|
| public IOException getCause() Returns information about an error, that caused the
| |
| getType | back to summary |
|---|---|
| public CloseType getType()
References Deprecated
See corresponding docs for further information. Return information whether
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns also type and cause.
| |