Top For Removal Deprecated By Reference
Grizzly NIO 5.0.2

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description

Returns:

The client certificate chain (if any).
org.glassfish.grizzly.ssl.SSLSupport.getPeerCertificateChain
()

use getPeerCertificates() instead.

Returns:

The client certificate chain (if any).
org.glassfish.grizzly.ssl.SSLSupport.getPeerCertificateChain
(boolean
If true, then re-negotiate the connection if necessary.
force
)

use getPeerCertificates(boolean) instead.

Deprecated Item Summary

SinceDeprecated Item and Description
org.glassfish.grizzly.Context.NullProcessor.write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<E> completionHandler, PushBackHandler pushBackHandler)

org.glassfish.grizzly.GrizzlyFuture.markForRecycle(boolean
if true - the GrizzlyFuture result, if it support recyclable mechanism, will be also recycled together with this GrizzlyFuture object.
recycleResult
)

Returns:

true if a write to this OutputSink will succeed, otherwise returns false.
org.glassfish.grizzly.OutputSink.canWrite
(final int
specifies the number of bytes (or characters) that require writing
length
)

the length parameter will be ignored. Pls. use canWrite().

org.glassfish.grizzly.OutputSink.notifyCanWrite(final WriteHandler
the WriteHandler that should be notified when it's possible to write length bytes.
handler
,
final int
the number of bytes or characters that require writing.
length
)

the length parameter will be ignored. Pls. use notifyCanWrite(org.glassfish.grizzly.WriteHandler).

org.glassfish.grizzly.Processor.write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<WriteResult<K, L>> completionHandler, PushBackHandler pushBackHandler)

org.glassfish.grizzly.StandaloneProcessor.write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<E> completionHandler, PushBackHandler pushBackHandler)

org.glassfish.grizzly.Writeable.write(M
the buffer, from which the data will be written
message
,
CompletionHandler<WriteResult<M, L>>
CompletionHandler, which will get notified, when write will be completed
completionHandler
,
PushBackHandler
org.glassfish.grizzly.asyncqueue.PushBackHandler, which will be notified if message was accepted by transport write queue or refused
pushbackHandler
)

push back logic is deprecated

org.glassfish.grizzly.Writeable.write(L
the destination address the buffer will be sent to
dstAddress
,
M
the buffer, from which the data will be written
message
,
CompletionHandler<WriteResult<M, L>>
CompletionHandler, which will get notified, when write will be completed
completionHandler
,
PushBackHandler
org.glassfish.grizzly.asyncqueue.PushBackHandler, which will be notified if message was accepted by transport write queue or refused
pushbackHandler
)

push back logic is deprecated

org.glassfish.grizzly.Writer.write(Connection<L> connection, L
the destination address the WritableMessage will be sent to
dstAddress
,
WritableMessage
the WritableMessage, from which the data will be written
message
,
CompletionHandler<WriteResult<WritableMessage, L>>
org.glassfish.grizzly.CompletionHandler, which will get notified, when write will be completed
completionHandler
,
PushBackHandler
org.glassfish.grizzly.asyncqueue.PushBackHandler, which will be notified if message was accepted by transport write queue or refused
pushBackHandler
)

push back logic is deprecated

Returns:

true if the queue has not exceeded it's maximum size in bytes of pending writes, otherwise false
org.glassfish.grizzly.asyncqueue.AsyncQueueWriter.canWrite
(final Connection<L>
the Connection to test whether or not the specified number of bytes can be written to.
connection
,
int
number of bytes to write.
size
)

the size parameter will be ignored, use canWrite(org.glassfish.grizzly.Connection) instead.

org.glassfish.grizzly.asyncqueue.AsyncQueueWriter.notifyWritePossible(final Connection<L> connection, final WriteHandler
WriteHandler to be notified.
writeHandler
,
final int
number of bytes queue has to be able to accept before notifying WriteHandler.
size
)

the size parameter will be ignored, use {@link #notifyWritePossible(org.glassfish.grizzly.Connection, org.glassfish.grizzly.WriteHandler) instead.

org.glassfish.grizzly.asyncqueue.AsyncQueueWriter.write(Connection<L> connection, L
the destination address the WritableMessage will be sent to
dstAddress
,
WritableMessage
the WritableMessage, from which the data will be written
message
,
CompletionHandler<WriteResult<WritableMessage, L>>
org.glassfish.grizzly.CompletionHandler, which will get notified, when write will be completed
completionHandler
,
PushBackHandler
PushBackHandler, which will be notified if message was accepted by transport write queue or refused
pushBackHandler
,
MessageCloner<WritableMessage>
MessageCloner, which will be invoked by AsyncQueueWriter, if message could not be written to a channel directly and has to be put on a asynchronous queue
cloner
)

push back logic is deprecated

Returns:

topic the context path associated with this instance
org.glassfish.grizzly.comet.CometContext.getContextPath
()

- use getTopic.

org.glassfish.grizzly.comet.CometEngine.interrupt(CometHandler<E>
The CometHandler encapsulating the suspended connection.
handler
,
boolean
Finish the current execution.
finishExecution
)

use the CometContext version

org.glassfish.grizzly.comet.CometEngine.interrupt0(CometHandler<E>
The CometHandler encapsulating the suspended connection.
handler
,
boolean
Finish the current execution.
finishExecution
)

use the CometContext version

Returns:

CometContext a configured CometContext.
org.glassfish.grizzly.comet.CometEngine.register
(String
the context path used to create the CometContext
topic
,
int
when the request will be suspended
type
)

Use register(String) instead

Returns:

this Builder
org.glassfish.grizzly.connectionpool.MultiEndpointPool.Builder.connectorHandler
(final ConnectorHandler<E> defaultConnectorHandler)

Endpoint must always know how to establish the connection

org.glassfish.grizzly.connectionpool.MultiEndpointPool(final ConnectorHandler<E>
the default ConnectorHandler to be used to establish new Connections
defaultConnectorHandler
,
final int
the maximum number of Connections single endpoint sub-pool is allowed to have
maxConnectionsPerEndpoint
,
final int
the total maximum number of Connections the pool is allowed to have
maxConnectionsTotal
,
DelayedExecutor
custom DelayedExecutor to be used by keep-alive and reconnect mechanisms
delayedExecutor
,
final long
timeout, after which, if a connection is not established, it is considered failed
connectTimeoutMillis
,
final long
the maximum number of milliseconds an idle Connection will be kept in the pool
keepAliveTimeoutMillis
,
final long
the interval, which specifies how often the pool will perform idle Connections check
keepAliveCheckIntervalMillis
,
final long
the delay to be used before the pool will repeat the attempt to connect to the endpoint after previous connect had failed
reconnectDelayMillis
,
final int
the maximum number of reconnect attempts that may be made before failure notification.
maxReconnectAttempts
,
final long
the maximum time, the async poll operation could wait for a connection to become available
asyncPollTimeoutMillis
,
final long
the maximum time, a connection could stay registered with the pool
connectionTTLMillis
,
final boolean
true if the "take" method should fail fast if there is no free connection in the pool and max pool size is reached
failFastWhenMaxSizeReached
,
final MultiEndpointPool.EndpointPoolCustomizer<E>
the customizer, which will be used to modify a specific endpoint pool settings and overwrite the default settings assigned by this MultiEndpointPool
endpointPoolCustomizer
)

defaultConnectorHandler is deprecated

org.glassfish.grizzly.filterchain.DefaultFilterChain.write(final Connection<L> connection, final Object dstAddress, final Object message, final CompletionHandler<E> completionHandler, final PushBackHandler pushBackHandler)

Returns:

NextAction implementation, which instructs the FilterChain to suspend the current FilterChainContext and invoke similar logic as instructed by StopAction with a clean FilterChainContext.
org.glassfish.grizzly.filterchain.FilterChainContext.getSuspendingStopAction
()

use getForkAction()

org.glassfish.grizzly.filterchain.FilterChainContext.write(final Object address, final Object message, final CompletionHandler<WriteResult<K, L>> completionHandler, final PushBackHandler pushBackHandler)

org.glassfish.grizzly.filterchain.FilterChainContext.write(final Object address, final Object message, final CompletionHandler<WriteResult<K, L>> completionHandler, final PushBackHandler pushBackHandler, final boolean blocking)

org.glassfish.grizzly.filterchain.FilterChainContext.write(final Object address, final Object message, final CompletionHandler<WriteResult<K, L>> completionHandler, final PushBackHandler pushBackHandler, final MessageCloner<E> cloner)

org.glassfish.grizzly.filterchain.FilterChainContext.write(final Object address, final Object message, final CompletionHandler<WriteResult<K, L>> completionHandler, final PushBackHandler pushBackHandler, final MessageCloner<E> cloner, final boolean blocking)

org.glassfish.grizzly.http.HttpServerFilter()

Next major release will include builders for filters requiring configuration. Constructors will be hidden.

org.glassfish.grizzly.http.HttpServerFilter(boolean
flag indicating whether or not chunking should be allowed or not.
chunkingEnabled
,
int
the maximum size of an inbound HTTP message header.
maxHeadersSize
,
KeepAlive
keep-alive configuration for this filter instance.
keepAlive
,
DelayedExecutor
DelayedExecutor for handling keep-alive.
executor
)

Next major release will include builders for filters requiring configuration. Constructors will be hidden.

org.glassfish.grizzly.http.HttpServerFilter(boolean
flag indicating whether or not chunking should be allowed or not.
chunkingEnabled
,
int
the maximum size of an inbound HTTP message header.
maxHeadersSize
,
String
the content type that the response should use if no content had been specified at the time the response is committed.
defaultResponseContentType
,
KeepAlive
keep-alive configuration for this filter instance.
keepAlive
,
DelayedExecutor
DelayedExecutor for handling keep-alive. If null - keep-alive idle connections should be managed outside HttpServerFilter.
executor
)

Next major release will include builders for filters requiring configuration. Constructors will be hidden.

org.glassfish.grizzly.http.HttpServerFilter(boolean
flag indicating whether or not chunking should be allowed or not.
chunkingEnabled
,
int
the maximum size of an inbound HTTP message header.
maxHeadersSize
,
String
the content type that the response should use if no content had been specified at the time the response is committed.
defaultResponseContentType
,
KeepAlive
keep-alive configuration for this filter instance.
keepAlive
,
DelayedExecutor
DelayedExecutor for handling keep-alive. If null - keep-alive idle connections should be managed outside HttpServerFilter.
executor
,
int
maximum number of request headers allowed for a single request.
maxRequestHeaders
,
int
maximum number of response headers allowed for a single response.
maxResponseHeaders
)

Next major release will include builders for filters requiring configuration. Constructors will be hidden.

org.glassfish.grizzly.http.HttpServerFilter(boolean
flag indicating whether or not chunking should be allowed or not.
chunkingEnabled
,
int
the maximum size of an inbound HTTP message header.
maxHeadersSize
,
String
the content type that the response should use if no content had been specified at the time the response is committed.
defaultResponseContentType
,
KeepAlive
keep-alive configuration for this filter instance.
keepAlive
,
DelayedExecutor
DelayedExecutor for handling keep-alive. If null - keep-alive idle connections should be managed outside HttpServerFilter.
executor
,
int
maximum number of request headers allowed for a single request.
maxRequestHeaders
,
int
maximum number of response headers allowed for a single response.
maxResponseHeaders
,
final Properties
the properties to be used by the filter.
props
)

Next major release will include builders for filters requiring configuration. Constructors will be hidden.

Returns:

if this buffer is being used to process asynchronous data.
org.glassfish.grizzly.http.io.InputBuffer.isAsyncEnabled
()

will always return true

org.glassfish.grizzly.http.io.InputBuffer.setAsyncEnabled(boolean
true if this InputBuffer is to be used to process asynchronous request data. @deprecated InputBuffer always supports async mode
asyncEnabled
)

org.glassfish.grizzly.http.io.InputBuffer.skip(final long n, final boolean block)

pls. use skip(long), the block parameter will be ignored

org.glassfish.grizzly.http.io.OutputBuffer.canWrite(final int length)

the length parameter will be ignored. Please use canWrite().

Returns:

true if content will be written in a non-blocking fashion, otherwise returns false.
org.glassfish.grizzly.http.io.OutputBuffer.isAsyncEnabled
()

will always return true

org.glassfish.grizzly.http.io.OutputBuffer.notifyCanWrite(final WriteHandler handler, final int length)

the length parameter will be ignored. Please use notifyCanWrite(org.glassfish.grizzly.WriteHandler).

org.glassfish.grizzly.http.io.OutputBuffer.setAsyncEnabled(boolean
true if this OutputBuffer will write content without blocking. @since 2.1.2 @deprecated OutputBuffer always supports async mode
asyncEnabled
)

Returns:

the HttpHandlerRegistration builder.
org.glassfish.grizzly.http.server.HttpHandlerRegistration.bulder
()

typo :(

org.glassfish.grizzly.http.server.NIOOutputStreamImpl.canWrite(final int length)

the length parameter will be ignored. Pls use canWrite().

Returns:

true if a write to this OutputSink will succeed, otherwise returns false.
org.glassfish.grizzly.http.server.NIOWriterImpl.canWrite
(final int
specifies the number of characters that require writing
length
)

the length parameter will be ignored. Pls use canWrite().

org.glassfish.grizzly.http.server.NIOWriterImpl.notifyCanWrite(final WriteHandler
the WriteHandler that should be notified when it's possible to write length characters.
handler
,
final int
the number of characters that require writing.
length
)

the length parameter will be ignored. Pls. use notifyCanWrite(org.glassfish.grizzly.WriteHandler).

org.glassfish.grizzly.http.server.NetworkListener.getCompressibleMimeTypes()

use getCompressionConfig().getCompressibleMimeTypes()

org.glassfish.grizzly.http.server.NetworkListener.getCompression()

use getCompressionConfig().getCompressionMode().name()

org.glassfish.grizzly.http.server.NetworkListener.getCompressionMinSize()

use getCompressionConfig().getCompressionMinSize()

org.glassfish.grizzly.http.server.NetworkListener.getNoCompressionUserAgents()

use getCompressionConfig().getNoCompressionUserAgents()

org.glassfish.grizzly.http.server.NetworkListener.setCompressibleMimeTypes(final String compressibleMimeTypes)

use getCompressionConfig().setCompressibleMimeTypes(Set<String>)

org.glassfish.grizzly.http.server.NetworkListener.setCompression(final String compression)

use getCompressionConfig().setCompressionMode(mode)

org.glassfish.grizzly.http.server.NetworkListener.setCompressionMinSize(final int compressionMinSize)

use getCompressionConfig().setCompressionMinSize(int)

org.glassfish.grizzly.http.server.NetworkListener.setNoCompressionUserAgents(final String noCompressionUserAgents)

use getCompressionConfig().setNoCompressionUserAgents(Set<String>)

org.glassfish.grizzly.http.server.Response.suspend(final long
The maximum amount of time, a Response can be suspended. When the timeout expires (because nothing has been written or because the Response#resume() or Response#cancel()), the Response will be automatically resumed and committed. Usage of any methods of a Response that times out will throw an IllegalStateException.
timeout
,
final TimeUnit
timeout units
timeunit
)

timeout parameters don't make any sense without CompletionHandler

Returns:

A URLClassLoader that can load classes from a directory that contains jar and zip files.
org.glassfish.grizzly.http.server.util.ClassLoaderUtil.createClassloader
(File
Directory with jars.
libDir
,
ClassLoader
the parent ClassLoader, or null if none.
cl
)

removal candidate, never used

org.glassfish.grizzly.http.util.MessageBytes()

Use static newInstance() in order to allow future hooks.

org.glassfish.grizzly.nio.NIOConnection.write(final SocketAddress dstAddress, final M message, final CompletionHandler<WriteResult<M, SocketAddress>> completionHandler, final PushBackHandler pushbackHandler)

org.glassfish.grizzly.servlet.SessionCookieConfig.getComment()

Returns: the cookie comment set via setComment, or null if setComment was never called

Returns:

true if configuration is valid, else false.
org.glassfish.grizzly.ssl.SSLContextConfigurator.validateConfiguration
(boolean
forces failure if no keystore is specified.
needsKeyStore
)

Use createSSLContext(boolean).

Returns:

true if this application can service this request

org.glassfish.grizzly.websockets.WebSocketApplication.isApplicationRequest
(HttpRequestPacket
the incoming HTTP request.
request
)

URI mapping shouldn't be intrinsic to the application. WebSocketApplications should be registered using WebSocketEngine#register(String, String, WebSocketApplication) using standard Servlet url-pattern rules.

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
org.glassfish.grizzly.connectionpool.SingleEndpointPool.PoolConnectionCloseListener.onClosed(final Connection<L> connection, final CloseType type)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.comet.CometContext.CometCompletionHandler

GenericCloseListener is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.comet.CometContext.CometCompletionHandler.onClosed(final Closeable closeable, final CloseType type)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseReason.type

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseReason(final CloseType type, final IOException cause)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

information whether Connection was closed locally or remotely
org.glassfish.grizzly.CloseReason.getType
()

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.Connection.CloseListener.onClosed(Connection<L> connection, Connection.CloseType type)

Connection.CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.Connection.CloseType.LOCALLY

Connection.CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.Connection.CloseType.REMOTELY

Connection.CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.Connection.CloseType.valueOf(String name)

Connection.CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.Connection.CloseType.values()

Connection.CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseType

ICloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseType.LOCALLY

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseType.REMOTELY

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseType.valueOf(String name)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.CloseType.values()

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.pushBackHandler

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.create(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushbackHandler, final boolean isUncountable)

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.asyncqueue.AsyncWriteQueueRecord.set(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

PushBackHandler passed along with write(...) call.
org.glassfish.grizzly.asyncqueue.PushBackContext.getPushBackHandler
()

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.asyncqueue.PushBackHandler.onPushBack(Connection<L> connection, WritableMessage message, PushBackContext pushBackContext)

PushBackContext is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.createRecord(final Connection<L> connection, final WritableMessage message, final CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, final SocketAddress dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.nio.NIOConnection.addCloseListener(Connection.CloseListener closeListener)

Connection.CloseListener is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.nio.NIOConnection.invokeCloseListener(final CloseListener<T extends Closeable, C extends ICloseType> closeListener, final CloseType closeType)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.nio.NIOConnection.removeCloseListener(Connection.CloseListener closeListener)

Connection.CloseListener is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write(Connection<SocketAddress> connection, SocketAddress
the destination address the message will be sent to
dstAddress
,
WritableMessage
the WritableMessage, from which the data will be written
message
,
CompletionHandler<WriteResult<WritableMessage, SocketAddress>>
org.glassfish.grizzly.CompletionHandler, which will get notified, when write will be completed
completionHandler
,
final PushBackHandler pushBackHandler, long timeout, TimeUnit timeunit)

PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.ssl.SSLFilter.closeListener

SSLFilter.ConnectionCloseListener is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.ssl.SSLFilter.ConnectionCloseListener

GenericCloseListener is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.ssl.SSLFilter.ConnectionCloseListener.onClosed(final Closeable closeable, final CloseType type)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.CompressionLevel.FORCE

CompressionLevel is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.CompressionLevel.OFF

CompressionLevel is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.CompressionLevel.ON

CompressionLevel is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.CompressionLevel.getCompressionLevel(String compression)

CompressionLevel is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.CompressionLevel.valueOf(String name)

CompressionLevel is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.CompressionLevel.values()

CompressionLevel is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.Response.SuspendedContextImpl.SuspendCloseListener

GenericCloseListener is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.Response.SuspendedContextImpl.SuspendCloseListener.onClosed(final Closeable connection, final CloseType closeType)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http.server.util.SimpleDateFormats.create()

SimpleDateFormats is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.servlet.HttpServletRequestImpl.newPushBuilder()

PushBuilder is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http2.Http2Session.closeFlag

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http2.Http2Session.ConnectionCloseListener.onClosed(final Closeable closeable, final CloseType type)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.grizzly.http2.Http2Stream.close0(final CompletionHandler<Closeable> completionHandler, final CloseType closeType, final IOException cause, final boolean isCloseOutputGracefully)

CloseType is deprecated or references (maybe indirectly) at least one deprecated element.