Uses of Interface
org.glassfish.grizzly.Connection
Packages that use Connection
Package
Description
-
Uses of Connection in org.glassfish.grizzly
Methods in org.glassfish.grizzly that return ConnectionModifier and TypeMethodDescriptionConnection<?>AbstractBindingHandler.bind(int port) Binds Transport to the specific port on localhost.Connection<?>Binds Transport to the specific host and port.Connection<?>Binds Transport to the specific host and port.Connection<?>Connection<?>Binds Transport to the specific host, and port within aPortRange.Connection<?>SocketBinder.bind(int port) Binds Transport to the specific port on localhost.Connection<?>Binds Transport to the specific host and port.Connection<?>Binds Transport to the specific host and port.Connection<?>Binds Transport to the specific host, and port within aPortRange.Connection<?>Binds Transport to the specific host, and port within aPortRange.Connection<?>SocketBinder.bind(SocketAddress socketAddress) Binds Transport to the specific SocketAddress.Connection<?>SocketBinder.bind(SocketAddress socketAddress, int backlog) Binds Transport to the specific SocketAddress.Connection<?>SocketBinder.bindToInherited()Binds the Transport to the channel inherited from the entity that created this Java virtual machine.Context.getConnection()Get the processingConnection.final Connection<L>ReadResult.getConnection()Get theConnectiondata were read from.Result.getConnection()GetConnection, associated with the result.final Connection<L>WriteResult.getConnection()Get theConnectiondata were read from.Methods in org.glassfish.grizzly that return types with arguments of type ConnectionModifier and TypeMethodDescriptionSocketAcceptor.accept()Accept aConnectionAbstractSocketConnectorHandler.connect(SocketAddress remoteAddress) AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress) Creates, initializes and establishesConnectionto the specificremoteAddress.Creates, initializesConnection, binds it to the specific local and remoteremoteAddress.Creates, initializes and connects socket to the specific remote host and port and returnsConnection, representing socket.protected abstract FutureImpl<Connection>AbstractSocketConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler, boolean needFuture) protected FutureImpl<Connection>AbstractSocketConnectorHandler.makeCancellableFuture(Connection connection) Methods in org.glassfish.grizzly with parameters of type ConnectionModifier and TypeMethodDescriptionbooleanWriter.canWrite(Connection<L> connection) Returntrueif the connection has not exceeded it's maximum size in bytes of pending writes, otherwisefalse.protected abstract voidAbstractTransport.closeConnection(Connection connection) Close the connection, managed by Transportstatic ContextContext.create(Connection connection) static ContextContext.create(Connection connection, Processor processor, IOEvent ioEvent, IOEventLifeCycleListener lifeCycleListener) static <K,L> ReadResult<K, L> ReadResult.create(Connection<L> connection) static <K,L> ReadResult<K, L> ReadResult.create(Connection<L> connection, K message, L srcAddress, int readSize) static <K,L> WriteResult<K, L> WriteResult.create(Connection<L> connection) static <K,L> WriteResult<K, L> WriteResult.create(Connection<L> connection, K message, L dstAddress, long writeSize) static voidProcessorExecutor.execute(Connection connection, IOEvent ioEvent, Processor processor, IOEventLifeCycleListener lifeCycleListener) booleanIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent) TheSelectorRunnerwill invoke this method to allow the strategy implementation to decide how theIOEventwill be handled.booleanIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) TheSelectorRunnerwill invoke this method to allow the strategy implementation to decide how theIOEventwill be handled.voidTransport.fireIOEvent(IOEvent ioEvent, Connection connection, IOEventLifeCycleListener listener) Fires specificIOEventon theConnectionTransport.getReader(Connection connection) Get theReaderto read data from theConnection.StandaloneProcessor.getStreamReader(Connection connection) StandaloneProcessor.getStreamWriter(Connection connection) IOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) Returns anExecutorto be used to run given ioEvent processing for the given connection.Transport.getWriter(Connection connection) Get theWriterto write data to theConnection.protected FutureImpl<Connection>AbstractSocketConnectorHandler.makeCancellableFuture(Connection connection) voidWriter.notifyWritePossible(Connection<L> connection, WriteHandler writeHandler) RegistersWriteHandler, which will be notified ones at least one byte can be written.Processor.obtainContext(Connection connection) CreatesContextStandaloneProcessor.obtainContext(Connection connection) AbstractTransport.obtainProcessor(IOEvent ioEvent, Connection connection) Gets the defaultProcessor, which will process TransportConnections I/O events in case, ifConnectiondoesn't have ownProcessorpreferences.Transport.obtainProcessor(IOEvent ioEvent, Connection connection) Gets the defaultProcessor, which will process TransportConnections I/O events in case, ifConnectiondoesn't have ownProcessorpreferences.voidConnectionProbe.Adapter.onAcceptEvent(Connection serverConnection, Connection clientConnection) Method will be called, when server side connection gets accepted.voidConnectionProbe.onAcceptEvent(Connection serverConnection, Connection clientConnection) Method will be called, when server side connection gets accepted.voidConnectionProbe.Adapter.onBindEvent(Connection connection) Method will be called, when server side connection gets bound.voidConnectionProbe.onBindEvent(Connection connection) Method will be called, when server side connection gets bound.voidConnection.CloseListener.onClosed(Connection connection, Connection.CloseType type) Deprecated.voidConnectionProbe.Adapter.onCloseEvent(Connection connection) Method will be called, whenConnectiongets closed.voidConnectionProbe.onCloseEvent(Connection connection) Method will be called, whenConnectiongets closed.voidConnectionProbe.Adapter.onConnectEvent(Connection connection) Method will be called, when client side connection gets connected (opened).voidConnectionProbe.onConnectEvent(Connection connection) Method will be called, when client side connection gets connected (opened).voidConnectionProbe.Adapter.onErrorEvent(Connection connection, Throwable error) Method will be called, when error occurs on theConnection.voidConnectionProbe.onErrorEvent(Connection connection, Throwable error) Method will be called, when error occurs on theConnection.voidConnectionProbe.Adapter.onIOEventDisableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets disabled.voidConnectionProbe.onIOEventDisableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets disabled.voidConnectionProbe.Adapter.onIOEventEnableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets enabled.voidConnectionProbe.onIOEventEnableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets enabled.voidConnectionProbe.Adapter.onIOEventReadyEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets ready.voidConnectionProbe.onIOEventReadyEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets ready.voidConnectionProbe.Adapter.onReadEvent(Connection connection, Buffer data, int size) Method will be called, when theConnectionhas read data.voidConnectionProbe.onReadEvent(Connection connection, Buffer data, int size) Method will be called, when theConnectionhas read data.voidConnectionProbe.Adapter.onWriteEvent(Connection connection, Buffer data, long size) Method will be called, when theConnectionhas written data.voidConnectionProbe.onWriteEvent(Connection connection, Buffer data, long size) Method will be called, when theConnectionhas written data.protected voidAbstractSocketConnectorHandler.preConfigure(Connection connection) Pre-configuresConnectionobject before actual connecting phase will be started.final GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection<L> connection) Method reads data.final GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection<L> connection, Buffer buffer) Method reads data to the buffer.final voidAbstractReader.read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer, L>> completionHandler) Method reads data to the buffer.voidProcessor.read(Connection connection, CompletionHandler<ReadResult> completionHandler) Reader.read(Connection<L> connection) Method reads data.Reader.read(Connection<L> connection, Buffer buffer) Method reads data to the buffer.voidReader.read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer, L>> completionHandler) Method reads data to the buffer.voidReader.read(Connection<L> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer, L>> completionHandler, Interceptor<ReadResult> interceptor) Method reads data to the buffer.voidStandaloneProcessor.read(Connection connection, CompletionHandler completionHandler) ChainProcessorSelector.select(IOEvent ioEvent, Connection connection) SelectsProcessor, which will process connection event.DefaultProcessorSelector.select(IOEvent ioEvent, Connection connection) SelectsProcessor, which will process connection event.ProcessorSelector.select(IOEvent ioEvent, Connection connection) SelectsProcessor, which will process connection event.StandaloneProcessorSelector.select(IOEvent ioEvent, Connection connection) protected voidReadResult.set(Connection<L> connection, K message, L srcAddress, int readSize) One method to set all the WriteResult properties.protected voidWriteResult.set(Connection<L> connection, K message, L dstAddress, long writtenSize) One method to set all the WriteResult properties.voidContext.setConnection(Connection connection) Set the processingConnection.voidSocketBinder.unbind(Connection<?> connection) Unbinds boundTransportconnection.final GrizzlyFuture<WriteResult<WritableMessage,L>> AbstractWriter.write(Connection<L> connection, L dstAddress, WritableMessage message) Method writes theWritableMessageto the specific address.final voidAbstractWriter.write(Connection<L> connection, L dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler) Method writes theWritableMessageto the specific address.final GrizzlyFuture<WriteResult<WritableMessage,L>> AbstractWriter.write(Connection<L> connection, WritableMessage message) Method writes theWritableMessage.final voidAbstractWriter.write(Connection<L> connection, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler) Method writes theWritableMessage.voidProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler<WriteResult> completionHandler) voidProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler<WriteResult> completionHandler, MessageCloner messageCloner) voidProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler<WriteResult> completionHandler, PushBackHandler pushBackHandler) Deprecated.voidStandaloneProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler completionHandler) voidStandaloneProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler completionHandler, MessageCloner messageCloner) voidStandaloneProcessor.write(Connection connection, Object dstAddress, Object message, CompletionHandler completionHandler, PushBackHandler pushBackHandler) Deprecated.Writer.write(Connection<L> connection, L dstAddress, WritableMessage message) Method writes theWritableMessageto the specific address.voidWriter.write(Connection<L> connection, L dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler) Method writes theWritableMessageto the specific address.voidWriter.write(Connection<L> connection, L dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler, MessageCloner<WritableMessage> messageCloner) Method writes theWritableMessageto the specific address.voidWriter.write(Connection<L> connection, L dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler, PushBackHandler pushBackHandler) Deprecated.push back logic is deprecatedWriter.write(Connection<L> connection, WritableMessage message) Method writes theWritableMessage.voidWriter.write(Connection<L> connection, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler) Method writes theWritableMessage.Method parameters in org.glassfish.grizzly with type arguments of type ConnectionModifier and TypeMethodDescriptionvoidAbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) voidAbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, CompletionHandler<Connection> completionHandler) voidConnectorHandler.connect(E remoteAddress, E localAddress, CompletionHandler<Connection> completionHandler) Creates, initializesConnection, binds it to the specific local and remoteremoteAddress.voidConnectorHandler.connect(E remoteAddress, CompletionHandler<Connection> completionHandler) Creates, initializes and establishesConnectionto the specificremoteAddress.protected abstract FutureImpl<Connection>AbstractSocketConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler, boolean needFuture) Constructors in org.glassfish.grizzly with parameters of type ConnectionModifierConstructorDescriptionprotectedReadResult(Connection<L> connection) protectedReadResult(Connection<L> connection, K message, L srcAddress, int readSize) -
Uses of Connection in org.glassfish.grizzly.asyncqueue
Fields in org.glassfish.grizzly.asyncqueue declared as ConnectionMethods in org.glassfish.grizzly.asyncqueue that return ConnectionMethods in org.glassfish.grizzly.asyncqueue with parameters of type ConnectionModifier and TypeMethodDescriptionbooleanAsyncQueueWriter.canWrite(Connection<L> connection, int size) Deprecated.the size parameter will be ignored, useWriter.canWrite(org.glassfish.grizzly.Connection)instead.MessageCloner.clone(Connection connection, E originalMessage) Method will be called byAsyncQueueWriter, when message could not be written directly, and will be added to the queue.static AsyncReadQueueRecordAsyncReadQueueRecord.create(Connection connection, Buffer message, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor) static AsyncWriteQueueRecordAsyncWriteQueueRecord.create(Connection connection, WritableMessage message, CompletionHandler completionHandler, Object dstAddress, PushBackHandler pushbackHandler, boolean isUncountable) booleanAsyncQueue.isReady(Connection connection) Checks whether there is ready data inAsyncQueue, associated with theConnection.voidAsyncQueueWriter.notifyWritePossible(Connection<L> connection, WriteHandler writeHandler, int size) Deprecated.the size parameter will be ignored, useinstead.voidPushBackHandler.onAccept(Connection connection, WritableMessage message) Deprecated.The method is invoked once message is accepted byWriter.voidAsyncQueue.onClose(Connection connection) Callback method, which is called, whenConnectionhas been closed, to let processor release a connection associated resources.voidPushBackHandler.onPushBack(Connection connection, WritableMessage message, PushBackContext pushBackContext) Deprecated.The method is invoked if message was refused byWriterdue to I/O or memory limitations.protected final voidAsyncQueueRecord.set(Connection connection, Object message, CompletionHandler completionHandler) protected voidAsyncReadQueueRecord.set(Connection connection, Object message, CompletionHandler completionHandler, Interceptor interceptor) protected voidAsyncWriteQueueRecord.set(Connection connection, WritableMessage message, CompletionHandler completionHandler, Object dstAddress, PushBackHandler pushBackHandler, boolean isUncountable) protected voidRecordReadResult.set(Connection<L> connection, K message, L srcAddress, int readSize) protected voidRecordWriteResult.set(Connection<L> connection, K message, L dstAddress, long writtenSize) voidAsyncQueueWriter.write(Connection<L> connection, L dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, L>> completionHandler, PushBackHandler pushBackHandler, MessageCloner<WritableMessage> cloner) Deprecated.push back logic is deprecatedConstructors in org.glassfish.grizzly.asyncqueue with parameters of type ConnectionModifierConstructorDescriptionAsyncQueueRecord(Connection connection, Object message, CompletionHandler completionHandler) protectedAsyncWriteQueueRecord(Connection connection, WritableMessage message, CompletionHandler completionHandler, Object dstAddress, PushBackHandler pushBackHandler, boolean isUncountable) -
Uses of Connection in org.glassfish.grizzly.filterchain
Methods in org.glassfish.grizzly.filterchain that return ConnectionModifier and TypeMethodDescriptionFilterChainContext.getConnection()Get theConnection, associated with the current processing.Methods in org.glassfish.grizzly.filterchain with parameters of type ConnectionModifier and TypeMethodDescriptionstatic FilterChainContextFilterChainContext.create(Connection connection) static FilterChainContextFilterChainContext.create(Connection connection, Closeable closeable) BaseFilter.createContext(Connection connection, FilterChainContext.Operation operation) voidDefaultFilterChain.fireEventDownstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler) voidFilterChain.fireEventDownstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler) voidDefaultFilterChain.fireEventUpstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler) voidFilterChain.fireEventUpstream(Connection connection, FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler) voidDefaultFilterChain.flush(Connection connection, CompletionHandler<WriteResult> completionHandler) voidFilterChain.flush(Connection connection, CompletionHandler<WriteResult> completionHandler) final ContextAbstractFilterChain.obtainContext(Connection connection) CreatesContextfinal FilterChainContextAbstractFilterChain.obtainFilterChainContext(Connection connection) AbstractFilterChain.obtainFilterChainContext(Connection connection, int startIdx, int endIdx, int currentIdx) AbstractFilterChain.obtainFilterChainContext(Connection connection, Closeable closeable) AbstractFilterChain.obtainFilterChainContext(Connection connection, Closeable closeable, int startIdx, int endIdx, int currentIdx) FilterChain.obtainFilterChainContext(Connection connection) FilterChain.obtainFilterChainContext(Connection connection, int startIdx, int endIdx, int currentIdx) FilterChain.obtainFilterChainContext(Connection connection, Closeable closeable) FilterChain.obtainFilterChainContext(Connection connection, Closeable closeable, int startIdx, int endIdx, int currentIdx) voidDefaultFilterChain.read(Connection connection, CompletionHandler<ReadResult> completionHandler) FilterChainProcessorSelector.select(IOEvent ioEvent, Connection connection) ReturnsFilterChaininstance, if it's interested in processing passedIOEvent, or null otherwise.voidDefaultFilterChain.write(Connection connection, Object dstAddress, Object message, CompletionHandler<WriteResult> completionHandler) voidDefaultFilterChain.write(Connection connection, Object dstAddress, Object message, CompletionHandler<WriteResult> completionHandler, MessageCloner messageCloner) voidDefaultFilterChain.write(Connection connection, Object dstAddress, Object message, CompletionHandler completionHandler, PushBackHandler pushBackHandler) Deprecated. -
Uses of Connection in org.glassfish.grizzly.http
Methods in org.glassfish.grizzly.http that return ConnectionMethods in org.glassfish.grizzly.http with parameters of type ConnectionModifier and TypeMethodDescriptionprotected final voidHttpClientFilter.clearResponse(Connection connection) ContentEncoding.decode(Connection connection, HttpContent httpContent) Decode HTTP packet content represented byHttpContent.GZipContentEncoding.decode(Connection connection, HttpContent httpContent) LZMAContentEncoding.decode(Connection connection, HttpContent httpContent) ContentEncoding.encode(Connection connection, HttpContent httpContent) Encode HTTP packet content represented byHttpContent.GZipContentEncoding.encode(Connection connection, HttpContent httpContent) LZMAContentEncoding.encode(Connection connection, HttpContent httpContent) protected static booleanHttpCodecFilter.isSecure(Connection connection) flag, which indicates whether this HttpCodecFilter is dealing with the secured HTTP packets.protected static voidKeepAlive.notifyProbesConnectionAccepted(KeepAlive keepAlive, Connection connection) Notify registeredKeepAliveProbes about the "keep-alive connection accepted" event.protected static voidKeepAlive.notifyProbesHit(KeepAlive keepAlive, Connection connection, int requestNumber) Notify registeredKeepAliveProbes about the "keep-alive connection hit" event.protected static voidKeepAlive.notifyProbesRefused(KeepAlive keepAlive, Connection connection) Notify registeredKeepAliveProbes about the "keep-alive connection refused" event.protected static voidKeepAlive.notifyProbesTimeout(KeepAlive keepAlive, Connection connection) Notify registeredKeepAliveProbes about the "keep-alive connection timeout" event.voidKeepAliveProbe.Adapter.onConnectionAcceptEvent(Connection connection) Method will be called, when new keep-alive HTTP connection is getting established.voidKeepAliveProbe.onConnectionAcceptEvent(Connection connection) Method will be called, when new keep-alive HTTP connection is getting established.voidHttpProbe.Adapter.onContentChunkParseEvent(Connection connection, HttpContent content) Method will be called, when HTTP message content chunk gets parsed (either request or response).voidHttpProbe.onContentChunkParseEvent(Connection connection, HttpContent content) Method will be called, when HTTP message content chunk gets parsed (either request or response).voidHttpProbe.Adapter.onContentChunkSerializeEvent(Connection connection, HttpContent content) Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response).voidHttpProbe.onContentChunkSerializeEvent(Connection connection, HttpContent content) Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response).voidHttpProbe.Adapter.onContentEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.onContentEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onContentEncodingParseResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) This method will be called after theContentEncodinghas been applied.voidHttpProbe.onContentEncodingParseResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) This method will be called after theContentEncodinghas been applied.voidHttpProbe.Adapter.onContentEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) /** Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.onContentEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, ContentEncoding contentEncoding) /** Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onContentEncodingSerializeResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.onContentEncodingSerializeResultEvent(Connection connection, HttpHeader header, Buffer result, ContentEncoding contentEncoding) Method will be called, whenContentEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onDataReceivedEvent(Connection connection, Buffer buffer) Method will be called, whenBufferwill come for processing to theHttpCodecFilter(either request or response).voidHttpProbe.onDataReceivedEvent(Connection connection, Buffer buffer) Method will be called, whenBufferwill come for processing to theHttpCodecFilter(either request or response).voidHttpProbe.Adapter.onDataSentEvent(Connection connection, Buffer buffer) Method will be called, whenBuffer, produced by theHttpCodecFilterwill be ready to go to the nextFilterin the chain and finally written on wire.voidHttpProbe.onDataSentEvent(Connection connection, Buffer buffer) Method will be called, whenBuffer, produced by theHttpCodecFilterwill be ready to go to the nextFilterin the chain and finally written on wire.voidHttpProbe.Adapter.onErrorEvent(Connection connection, HttpPacket httpPacket, Throwable error) Method will be called, when error occurs during theHttpCodecFilterprocessing.voidHttpProbe.onErrorEvent(Connection connection, HttpPacket httpPacket, Throwable error) Method will be called, when error occurs during theHttpCodecFilterprocessing.voidHttpProbe.Adapter.onHeaderParseEvent(Connection connection, HttpHeader header, int size) Method will be called, when HTTP message header gets parsed (either request or response).voidHttpProbe.onHeaderParseEvent(Connection connection, HttpHeader header, int size) Method will be called, when HTTP message header gets parsed (either request or response).voidHttpProbe.Adapter.onHeaderSerializeEvent(Connection connection, HttpHeader header, Buffer buffer) Method will be called, when HTTP message header gets serialized (either request or response).voidHttpProbe.onHeaderSerializeEvent(Connection connection, HttpHeader header, Buffer buffer) Method will be called, when HTTP message header gets serialized (either request or response).voidKeepAliveProbe.Adapter.onHitEvent(Connection connection, int requestNumber) Method will be called, when HTTP request comes on a kept alive connection.voidKeepAliveProbe.onHitEvent(Connection connection, int requestNumber) Method will be called, when HTTP request comes on a kept alive connection.voidKeepAliveProbe.Adapter.onRefuseEvent(Connection connection) Method will be called, when the Connection could be used in the keep alive mode, but due to KeepAlive config limitations it will be closed.voidKeepAliveProbe.onRefuseEvent(Connection connection) Method will be called, when the Connection could be used in the keep alive mode, but due to KeepAlive config limitations it will be closed.voidKeepAliveProbe.Adapter.onTimeoutEvent(Connection connection) Method will be called, when the keep alive Connection idle timeout expired.voidKeepAliveProbe.onTimeoutEvent(Connection connection) Method will be called, when the keep alive Connection idle timeout expired.voidHttpProbe.Adapter.onTransferEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.onTransferEncodingParseEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the parsing/decoding of the certain HTTP message content chunk.voidHttpProbe.Adapter.onTransferEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpProbe.onTransferEncodingSerializeEvent(Connection connection, HttpHeader header, Buffer buffer, TransferEncoding transferEncoding) Method will be called, whenTransferEncodingwill be applied during the serialization/encoding of the certain HTTP message content chunk.voidHttpRequestPacket.setConnection(Connection connection) Sets the underlying connection used by the request. -
Uses of Connection in org.glassfish.grizzly.http.ajp
Methods in org.glassfish.grizzly.http.ajp with parameters of type ConnectionModifier and TypeMethodDescriptionvoidShutdownHandler.onShutdown(Connection initiator) Method is called once AjpHandlerFilter received shutdown message. -
Uses of Connection in org.glassfish.grizzly.http.server
Methods in org.glassfish.grizzly.http.server that return ConnectionModifier and TypeMethodDescriptionConnection<?>Request.getConnection()Connection<?>NetworkListener.getServerConnection()Methods in org.glassfish.grizzly.http.server with parameters of type ConnectionModifier and TypeMethodDescriptionvoidHttpServerProbe.Adapter.onBeforeServiceEvent(HttpServerFilter filter, Connection connection, Request request, HttpHandler httpHandler) Method will be called, before invokingHttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).voidHttpServerProbe.onBeforeServiceEvent(HttpServerFilter filter, Connection connection, Request request, HttpHandler httpHandler) Method will be called, before invokingHttpHandler.service(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response).voidHttpServerProbe.Adapter.onRequestCancelEvent(HttpServerFilter filter, Connection connection, Request request) voidHttpServerProbe.onRequestCancelEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is cancelled after suspend.voidHttpServerProbe.Adapter.onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response) Method will be called, whenRequestprocessing will be completed.voidHttpServerProbe.onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response) Method will be called, whenRequestprocessing will be completed.voidHttpServerProbe.Adapter.onRequestReceiveEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, when newRequestwill come.voidHttpServerProbe.onRequestReceiveEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, when newRequestwill come.voidHttpServerProbe.Adapter.onRequestResumeEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is resumed.voidHttpServerProbe.onRequestResumeEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is resumed.voidHttpServerProbe.Adapter.onRequestSuspendEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is suspended.voidHttpServerProbe.onRequestSuspendEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is suspended.voidHttpServerProbe.Adapter.onRequestTimeoutEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is timeout after suspend.voidHttpServerProbe.onRequestTimeoutEvent(HttpServerFilter filter, Connection connection, Request request) Method will be called, whenRequestprocessing is timeout after suspend. -
Uses of Connection in org.glassfish.grizzly.http.server.accesslog
Methods in org.glassfish.grizzly.http.server.accesslog with parameters of type ConnectionModifier and TypeMethodDescriptionvoidAccessLogProbe.onRequestCompleteEvent(HttpServerFilter filter, Connection connection, Response response) Receive notification of the completion of aResponsean possibly trigger an access log entry generation.voidAccessLogProbe.onRequestReceiveEvent(HttpServerFilter filter, Connection connection, Request request) Instrument the specifiedRequestwith an attribute marking its received time (in nanoseconds). -
Uses of Connection in org.glassfish.grizzly.http2
Methods in org.glassfish.grizzly.http2 that return ConnectionModifier and TypeMethodDescriptionstatic Connection<?>AlpnSupport.getConnection(SSLEngine engine) Http2Session.getConnection()Methods in org.glassfish.grizzly.http2 with parameters of type ConnectionModifier and TypeMethodDescriptionprotected Http2SessionHttp2ClientFilter.createClientHttp2Session(Connection connection) Creates client-sideHttp2Sessionwith pre-configured initial-windows-size and max-concurrent-streams.protected Http2SessionHttp2BaseFilter.createHttp2Session(Connection connection, boolean isServer) CreatesHttp2Sessionwith pre-configured initial-windows-size and max-concurrent-streamsstatic Http2SessionHttp2Session.get(Connection connection) voidAlpnSupport.setClientSideNegotiator(Connection<?> connection, AlpnClientNegotiator negotiator) voidAlpnSupport.setServerSideNegotiator(Connection<?> connection, AlpnServerNegotiator negotiator) Constructors in org.glassfish.grizzly.http2 with parameters of type ConnectionModifierConstructorDescriptionHttp2Session(Connection<?> connection, boolean isServer, Http2BaseFilter handlerFilter) -
Uses of Connection in org.glassfish.grizzly.nio
Classes in org.glassfish.grizzly.nio that implement ConnectionModifier and TypeClassDescriptionclassCommonConnectionimplementation for Java NIO Connections.Methods in org.glassfish.grizzly.nio with parameters of type ConnectionModifier and TypeMethodDescriptionbooleanAbstractNIOAsyncQueueWriter.canWrite(Connection<SocketAddress> connection) booleanAbstractNIOAsyncQueueWriter.canWrite(Connection<SocketAddress> connection, int size) Deprecated.protected abstract voidNIOTransport.closeConnection(Connection connection) protected AsyncWriteQueueRecordAbstractNIOAsyncQueueWriter.createRecord(Connection connection, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, SocketAddress dstAddress, PushBackHandler pushBackHandler, boolean isUncountable) protected final intAbstractNIOAsyncQueueReader.doRead(Connection connection, AsyncReadQueueRecord queueRecord) Performs real read on the NIO channelfinal booleanAbstractNIOAsyncQueueReader.isReady(Connection connection) Checks whether there is ready data inAsyncQueue, associated with theConnection.final booleanAbstractNIOAsyncQueueWriter.isReady(Connection connection) Checks whether there is ready data inAsyncQueue, associated with theConnection.voidAbstractNIOAsyncQueueWriter.notifyWritePossible(Connection<SocketAddress> connection, WriteHandler writeHandler) voidAbstractNIOAsyncQueueWriter.notifyWritePossible(Connection<SocketAddress> connection, WriteHandler writeHandler, int size) Deprecated.voidAbstractNIOAsyncQueueReader.onClose(Connection connection) Callback method, which is called, whenConnectionhas been closed, to let processor release a connection associated resources.voidAbstractNIOAsyncQueueWriter.onClose(Connection connection) Callback method, which is called, whenConnectionhas been closed, to let processor release a connection associated resources.protected final voidAbstractNIOAsyncQueueReader.onReadFailure(Connection connection, AsyncReadQueueRecord failedRecord, IOException e) protected abstract voidAbstractNIOAsyncQueueReader.onReadyToRead(Connection connection) protected static voidAbstractNIOAsyncQueueWriter.onWriteFailure(Connection connection, AsyncWriteQueueRecord failedRecord, Throwable e) voidAbstractNIOAsyncQueueReader.read(Connection<SocketAddress> connection, Buffer buffer, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) Method reads data to the buffer.protected abstract intAbstractNIOAsyncQueueReader.read0(Connection connection, Buffer buffer, ReadResult<Buffer, SocketAddress> currentResult) voidAbstractNIOAsyncQueueWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, MessageCloner<WritableMessage> cloner) voidAbstractNIOAsyncQueueWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, PushBackHandler pushBackHandler) Deprecated.voidAbstractNIOAsyncQueueWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, PushBackHandler pushBackHandler, MessageCloner<WritableMessage> cloner) Deprecated. -
Uses of Connection in org.glassfish.grizzly.nio.tmpselectors
Methods in org.glassfish.grizzly.nio.tmpselectors with parameters of type ConnectionModifier and TypeMethodDescriptionprotected BufferTemporarySelectorReader.acquireBuffer(Connection connection) booleanTemporarySelectorWriter.canWrite(Connection connection) Returntrueif the connection has not exceeded it's maximum size in bytes of pending writes, otherwisefalse.voidTemporarySelectorWriter.notifyWritePossible(Connection connection, WriteHandler writeHandler) RegistersWriteHandler, which will be notified ones at least one byte can be written.voidTemporarySelectorReader.read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) voidTemporarySelectorReader.read(Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor, long timeout, TimeUnit timeunit) Method reads data to the message.voidTemporarySelectorWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) Method writes theWritableMessageto the specific address.voidTemporarySelectorWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, MessageCloner<WritableMessage> messageCloner) Method writes theWritableMessageto the specific address.voidTemporarySelectorWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, PushBackHandler pushBackHandler) Deprecated.voidTemporarySelectorWriter.write(Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, PushBackHandler pushBackHandler, long timeout, TimeUnit timeunit) Method writes theWritableMessageto the specific address. -
Uses of Connection in org.glassfish.grizzly.nio.transport
Classes in org.glassfish.grizzly.nio.transport that implement ConnectionModifier and TypeClassDescriptionclassConnectionimplementation for theTCPNIOTransportfinal classclassConnectionimplementation for theUDPNIOTransportclassServerConnectionimplementation for theUDPNIOTransportMethods in org.glassfish.grizzly.nio.transport that return ConnectionMethods in org.glassfish.grizzly.nio.transport that return types with arguments of type ConnectionModifier and TypeMethodDescriptionTCPNIOServerConnection.accept()Accept aConnection.protected GrizzlyFuture<Connection>TCPNIOServerConnection.acceptAsync()Asynchronously accept aConnectionCreates, initializes and connects socket to the specific remote host and port and returnsConnection, representing socket.TCPNIOTransport.connect(SocketAddress remoteAddress) Creates, initializes and connects socket to the specificSocketAddressand returnsConnection, representing socket.TCPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress) Creates, initializes socket, binds it to the specific local and remoteSocketAddressand returnsConnection, representing socket.UDPNIOConnectorHandler.connect()Creates non-connected UDPConnection.UDPNIOTransport.connect()Creates non-connected UDPConnection.Creates, initializes and connects socket to the specific remote host and port and returnsConnection, representing socket.UDPNIOTransport.connect(SocketAddress remoteAddress) Creates, initializes and connects socket to the specificSocketAddressand returnsConnection, representing socket.UDPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress) Creates, initializes socket, binds it to the specific local and remoteSocketAddressand returnsConnection, representing socket.protected FutureImpl<Connection>TCPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler, boolean needFuture) protected FutureImpl<Connection>UDPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler, boolean needFuture) Methods in org.glassfish.grizzly.nio.transport with parameters of type ConnectionModifier and TypeMethodDescriptionprotected voidTCPNIOAsyncQueueReader.addRecord(Connection connection, Buffer buffer, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor) protected voidUDPNIOAsyncQueueReader.addRecord(Connection connection, Buffer buffer, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor) protected voidTCPNIOTransport.closeConnection(Connection connection) protected voidUDPNIOTransport.closeConnection(Connection connection) voidTCPNIOTransport.fireIOEvent(IOEvent ioEvent, Connection connection, IOEventLifeCycleListener listener) voidUDPNIOTransport.fireIOEvent(IOEvent ioEvent, Connection connection, IOEventLifeCycleListener listener) TCPNIOTransport.getReader(Connection connection) Get theReaderto read data from theConnection.UDPNIOTransport.getReader(Connection connection) Get theReaderto read data from theConnection.TCPNIOTransport.getWriter(Connection connection) Get theWriterto write data to theConnection.UDPNIOTransport.getWriter(Connection connection) Get theWriterto write data to theConnection.protected voidTCPNIOAsyncQueueReader.onReadyToRead(Connection connection) protected voidUDPNIOAsyncQueueReader.onReadyToRead(Connection connection) TCPNIOTransport.read(Connection connection, Buffer buffer) protected intTCPNIOAsyncQueueReader.read0(Connection connection, Buffer buffer, ReadResult<Buffer, SocketAddress> currentResult) protected intUDPNIOAsyncQueueReader.read0(Connection connection, Buffer buffer, ReadResult<Buffer, SocketAddress> currentResult) voidTCPNIOBindingHandler.unbind(Connection connection) voidTCPNIOTransport.unbind(Connection connection) Unbinds boundTransportconnection.voidUDPNIOBindingHandler.unbind(Connection connection) voidUDPNIOTransport.unbind(Connection connection) Unbinds boundTransportconnection.Method parameters in org.glassfish.grizzly.nio.transport with type arguments of type ConnectionModifier and TypeMethodDescriptionvoidTCPNIOConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) voidTCPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) Creates, initializes socket, binds it to the specific local and remoteSocketAddressand returnsConnection, representing socket.voidTCPNIOTransport.connect(SocketAddress remoteAddress, CompletionHandler<Connection> completionHandler) Creates, initializes and connects socket to the specificSocketAddressand returnsConnection, representing socket.voidUDPNIOConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) voidUDPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) Creates, initializes socket, binds it to the specific local and remoteSocketAddressand returnsConnection, representing socket.voidUDPNIOTransport.connect(SocketAddress remoteAddress, CompletionHandler<Connection> completionHandler) Creates, initializes and connects socket to the specificSocketAddressand returnsConnection, representing socket.protected FutureImpl<Connection>TCPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler, boolean needFuture) protected FutureImpl<Connection>UDPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler, boolean needFuture) protected voidTCPNIOConnectorHandler.connectSync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) protected voidUDPNIOConnectorHandler.connectSync(SocketAddress remoteAddress, SocketAddress localAddress, CompletionHandler<Connection> completionHandler) protected static voidTCPNIOConnectorHandler.onConnectedAsync(TCPNIOConnection connection, CompletionHandler<Connection> completionHandler) protected voidTCPNIOConnectorHandler.waitNIOFuture(FutureImpl<Connection> future, CompletionHandler<Connection> completionHandler) protected voidTCPNIOConnectorHandler.waitNIOFuture(FutureImpl<Connection> future, CompletionHandler<Connection> completionHandler) protected voidUDPNIOConnectorHandler.waitNIOFuture(FutureImpl<Connection> future, CompletionHandler<Connection> completionHandler) protected voidUDPNIOConnectorHandler.waitNIOFuture(FutureImpl<Connection> future, CompletionHandler<Connection> completionHandler) Constructors in org.glassfish.grizzly.nio.transport with parameters of type ConnectionModifierConstructorDescriptionDefaultStreamReader(Connection connection) DefaultStreamWriter(Connection connection) Output(Connection connection) Constructor parameters in org.glassfish.grizzly.nio.transport with type arguments of type ConnectionModifierConstructorDescription -
Uses of Connection in org.glassfish.grizzly.ssl
Methods in org.glassfish.grizzly.ssl that return ConnectionMethods in org.glassfish.grizzly.ssl with parameters of type ConnectionModifier and TypeMethodDescriptionSSLBaseFilter.SSLTransportFilterWrapper.createContext(Connection connection, FilterChainContext.Operation operation) protected SSLConnectionContextSSLBaseFilter.createSslConnectionContext(Connection connection) static SSLConnectionContextSSLUtils.getSslConnectionContext(Connection connection) static SSLEngineSSLUtils.getSSLEngine(Connection connection) SSLCodec.handshake(Connection connection) SSLCodec.handshake(Connection connection, SSLEngineConfigurator configurator) protected voidSSLFilter.handshake(Connection<?> connection, CompletionHandler<SSLEngine> completionHandler, Object dstAddress, SSLEngineConfigurator sslEngineConfigurator, FilterChainContext context, boolean forceBeginHandshake) voidSSLFilter.handshake(Connection connection, CompletionHandler<SSLEngine> completionHandler) voidSSLFilter.handshake(Connection connection, CompletionHandler<SSLEngine> completionHandler, Object dstAddress) voidSSLFilter.handshake(Connection connection, CompletionHandler<SSLEngine> completionHandler, Object dstAddress, SSLEngineConfigurator sslEngineConfigurator) static BufferSSLUtils.handshakeWrap(Connection connection, SSLConnectionContext sslCtx, Buffer netBuffer) protected voidSSLBaseFilter.notifyHandshakeComplete(Connection<?> connection, SSLEngine sslEngine) protected voidSSLFilter.notifyHandshakeComplete(Connection<?> connection, SSLEngine sslEngine) protected voidSSLBaseFilter.notifyHandshakeFailed(Connection connection, Throwable t) protected voidSSLFilter.notifyHandshakeFailed(Connection connection, Throwable t) protected voidSSLBaseFilter.notifyHandshakeInit(Connection<?> connection, SSLEngine sslEngine) protected voidSSLBaseFilter.notifyHandshakeStart(Connection connection) protected SSLConnectionContextSSLBaseFilter.obtainSslConnectionContext(Connection connection) voidSSLBaseFilter.HandshakeListener.onComplete(Connection<?> connection) voidSSLBaseFilter.HandshakeListener.onFailure(Connection<?> connection, Throwable t) default voidSSLBaseFilter.HandshakeListener.onInit(Connection<?> connection, SSLEngine sslEngine) voidSSLBaseFilter.HandshakeListener.onStart(Connection<?> connection) static voidSSLUtils.setSSLEngine(Connection connection, SSLEngine sslEngine) Constructors in org.glassfish.grizzly.ssl with parameters of type ConnectionModifierConstructorDescriptionSSLConnectionContext(Connection connection) SSLSupportImpl(Connection connection) -
Uses of Connection in org.glassfish.grizzly.strategies
Methods in org.glassfish.grizzly.strategies with parameters of type ConnectionModifier and TypeMethodDescriptionfinal booleanAbstractIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent) booleanLeaderFollowerNIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) booleanSameThreadIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) booleanSimpleDynamicNIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent) booleanSimpleDynamicNIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) booleanWorkerThreadIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) protected static voidAbstractIOStrategy.fireIOEvent(Connection connection, IOEvent ioEvent, IOEventLifeCycleListener listener, Logger logger) AbstractIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) SameThreadIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) SimpleDynamicNIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) -
Uses of Connection in org.glassfish.grizzly.streams
Fields in org.glassfish.grizzly.streams declared as ConnectionMethods in org.glassfish.grizzly.streams that return ConnectionModifier and TypeMethodDescriptionAbstractStreamReader.getConnection()Get theConnectionthis StreamReader belongs to.AbstractStreamWriter.getConnection()Get theConnectionthis StreamWriter belongs to.Stream.getConnection()Get theConnectionthis StreamReader belongs to.StreamWriter.getConnection()Get theConnectionthis StreamWriter belongs to.Constructors in org.glassfish.grizzly.streams with parameters of type ConnectionModifierConstructorDescriptionprotectedAbstractStreamReader(Connection connection, Input streamInput) Create a new ByteBufferReader.protectedAbstractStreamWriter(Connection connection, Output streamOutput) Create a new ByteBufferWriter.TransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, Connection connection) TransformerOutput(Transformer<Buffer, Buffer> transformer, Output underlyingOutput, Connection connection) -
Uses of Connection in org.glassfish.grizzly.utils
Methods in org.glassfish.grizzly.utils that return types with arguments of type ConnectionMethods in org.glassfish.grizzly.utils with parameters of type ConnectionModifier and TypeMethodDescriptionvoidActivityCheckFilter.TimeoutHandler.onTimeout(Connection c) voidIdleTimeoutFilter.TimeoutHandler.onTimeout(Connection c) static voidIdleTimeoutFilter.setCustomTimeout(Connection connection, long timeout, TimeUnit timeunit) Provides an override mechanism for the default timeout.Constructor parameters in org.glassfish.grizzly.utils with type arguments of type ConnectionModifierConstructorDescriptionprotectedActivityCheckFilter(DelayedExecutor executor, DelayedExecutor.Worker<Connection> worker, long timeout, TimeUnit timeoutUnit) protectedIdleTimeoutFilter(DelayedExecutor executor, DelayedExecutor.Worker<Connection> worker, IdleTimeoutFilter.TimeoutResolver timeoutResolver) -
Uses of Connection in org.glassfish.grizzly.websockets
Fields in org.glassfish.grizzly.websockets declared as ConnectionMethods in org.glassfish.grizzly.websockets that return ConnectionMethods in org.glassfish.grizzly.websockets with parameters of type ConnectionModifier and TypeMethodDescriptionstatic WebSocketHolderWebSocketHolder.get(Connection connection) static WebSocketWebSocketHolder.getWebSocket(Connection connection) static booleanWebSocketHolder.isWebSocketInProgress(Connection connection) protected voidBaseWebSocketFilter.onHandshakeFailure(Connection connection, HandshakeException e) The method is called when WebSocket handshake fails for theConnection.static WebSocketHolderWebSocketHolder.set(Connection connection, ProtocolHandler handler, WebSocket socket) voidProtocolHandler.setConnection(Connection handler) protected static booleanBaseWebSocketFilter.webSocketInProgress(Connection connection)