| Package | Description |
|---|---|
| org.glassfish.grizzly | |
| org.glassfish.grizzly.filterchain | |
| org.glassfish.grizzly.nio | |
| org.glassfish.grizzly.nio.transport |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CloseListener<T extends Closeable,C extends ICloseType>
The listener, which is used to be notified, when Connection gets closed.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Connection<L>
Common interface, which represents any kind of connection.
|
| Modifier and Type | Method and Description |
|---|---|
GrizzlyFuture<Closeable> |
Connection.close()
Gracefully close the
Connection |
GrizzlyFuture<Closeable> |
Closeable.close()
Gracefully (if supported by the implementation) closes this stream and
releases any system resources associated with it.
|
GrizzlyFuture<Closeable> |
Connection.terminate()
Close the
Connection |
GrizzlyFuture<Closeable> |
Closeable.terminate()
Closes this stream and releases any system resources associated with it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.close(CompletionHandler<Closeable> completionHandler)
Deprecated.
use
Connection.close() with the following GrizzlyFuture.addCompletionHandler(org.glassfish.grizzly.CompletionHandler). |
void |
Closeable.close(CompletionHandler<Closeable> completionHandler)
Deprecated.
please use
close() with the following GrizzlyFuture.addCompletionHandler(org.glassfish.grizzly.CompletionHandler) call |
| Modifier and Type | Method and Description |
|---|---|
Closeable |
FilterChainContext.getCloseable()
Get the
Closeable, associated with the current processing. |
| Modifier and Type | Method and Description |
|---|---|
static FilterChainContext |
FilterChainContext.create(Connection connection,
Closeable closeable) |
FilterChainContext |
FilterChain.obtainFilterChainContext(Connection connection,
Closeable closeable) |
FilterChainContext |
AbstractFilterChain.obtainFilterChainContext(Connection connection,
Closeable closeable) |
FilterChainContext |
FilterChain.obtainFilterChainContext(Connection connection,
Closeable closeable,
int startIdx,
int endIdx,
int currentIdx) |
FilterChainContext |
AbstractFilterChain.obtainFilterChainContext(Connection connection,
Closeable closeable,
int startIdx,
int endIdx,
int currentIdx) |
| Modifier and Type | Class and Description |
|---|---|
class |
NIOConnection
Common
Connection implementation for Java NIO Connections. |
| Modifier and Type | Method and Description |
|---|---|
GrizzlyFuture<Closeable> |
NIOConnection.close() |
GrizzlyFuture<Closeable> |
NIOConnection.terminate() |
| Modifier and Type | Method and Description |
|---|---|
void |
NIOConnection.close(CompletionHandler<Closeable> completionHandler)
Deprecated.
please use
NIOConnection.close() with the following GrizzlyFuture.addCompletionHandler(org.glassfish.grizzly.CompletionHandler) call |
protected void |
NIOConnection.closeGracefully0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
protected void |
NIOConnection.terminate0(CompletionHandler<Closeable> completionHandler,
CloseReason reason) |
| Modifier and Type | Class and Description |
|---|---|
class |
TCPNIOConnection
Connection implementation
for the TCPNIOTransport |
class |
TCPNIOServerConnection |
class |
UDPNIOConnection
Connection implementation
for the UDPNIOTransport |
class |
UDPNIOServerConnection
Server
Connection implementation
for the UDPNIOTransport |
| Modifier and Type | Method and Description |
|---|---|
protected void |
UDPNIOServerConnection.closeGracefully0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
protected void |
TCPNIOServerConnection.closeGracefully0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
protected void |
UDPNIOServerConnection.terminate0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
protected void |
TCPNIOConnection.terminate0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
void |
UDPNIOServerConnection.unbind(CompletionHandler<Closeable> completionHandler) |
Copyright © 2016 Oracle Corporation. All Rights Reserved.