Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.filterchain | |
org.glassfish.grizzly.http | |
org.glassfish.grizzly.nio | |
org.glassfish.grizzly.nio.transport | |
org.glassfish.grizzly.spdy |
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 | Method and Description |
---|---|
Closeable |
HttpContext.getCloseable() |
Modifier and Type | Method and Description |
---|---|
static HttpContext |
HttpContext.newInstance(AttributeStorage attributeStorage,
OutputSink outputSink,
Closeable closeable,
HttpRequestPacket request) |
Constructor and Description |
---|
HttpContext(AttributeStorage attributeStorage,
OutputSink outputSink,
Closeable closeable,
HttpRequestPacket request) |
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 closeReason) |
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 |
TCPNIOServerConnection.closeGracefully0(CompletionHandler<Closeable> completionHandler,
CloseReason closeReason) |
protected void |
UDPNIOServerConnection.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) |
Modifier and Type | Class and Description |
---|---|
class |
SpdyStream
The abstraction representing SPDY stream.
|
Modifier and Type | Method and Description |
---|---|
GrizzlyFuture<Closeable> |
SpdyStream.close() |
GrizzlyFuture<Closeable> |
SpdyStream.terminate() |
Modifier and Type | Method and Description |
---|---|
void |
SpdyStream.close(CompletionHandler<Closeable> completionHandler)
Deprecated.
please use
SpdyStream.close() with the following GrizzlyFuture.addCompletionHandler(org.glassfish.grizzly.CompletionHandler) call |
Copyright © 2015 Oracle Corporation. All rights reserved.