Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.nio | |
org.glassfish.grizzly.nio.transport |
Modifier and Type | Field and Description |
---|---|
static CloseReason |
CloseReason.LOCALLY_CLOSED_REASON |
static CloseReason |
CloseReason.REMOTELY_CLOSED_REASON |
Modifier and Type | Method and Description |
---|---|
CloseReason |
Connection.getCloseReason()
Returns
CloseReason if this Connection has been closed,
or null otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
Connection.closeWithReason(CloseReason closeReason)
Closes the Connection and provides the reason description.
|
Modifier and Type | Field and Description |
---|---|
protected AtomicReference<CloseReason> |
NIOConnection.closeReasonAtomic |
Modifier and Type | Method and Description |
---|---|
CloseReason |
NIOConnection.getCloseReason() |
Modifier and Type | Method and Description |
---|---|
protected void |
NIOConnection.close0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
void |
NIOConnection.closeWithReason(CloseReason closeReason) |
Modifier and Type | Method and Description |
---|---|
protected void |
TCPNIOConnection.close0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.