Uses of Class
org.glassfish.grizzly.filterchain.FilterChainContext
-
-
Uses of FilterChainContext in org.glassfish.grizzly.compression.lzma
Methods in org.glassfish.grizzly.compression.lzma with parameters of type FilterChainContext Modifier and Type Method Description NextActionLZMAFilter. handleClose(FilterChainContext ctx)NextActionLZMAFilter. handleRead(FilterChainContext ctx)NextActionLZMAFilter. handleWrite(FilterChainContext ctx) -
Uses of FilterChainContext in org.glassfish.grizzly.compression.zip
Methods in org.glassfish.grizzly.compression.zip with parameters of type FilterChainContext Modifier and Type Method Description NextActionGZipFilter. handleClose(FilterChainContext ctx)Method perform the clean up of GZIP encoding/decoding state on a closedConnection.NextActionGZipFilter. handleRead(FilterChainContext ctx)Method decodes GZIP encoded data stored ingetMessage()and, as the result, produces aBufferwith a plain data.NextActionGZipFilter. handleWrite(FilterChainContext ctx)Method compresses plain data stored ingetMessage()and, as the result, produces aBufferwith a GZIP compressed data. -
Uses of FilterChainContext in org.glassfish.grizzly.filterchain
Fields in org.glassfish.grizzly.filterchain with type parameters of type FilterChainContext Modifier and Type Field Description protected CompletionHandler<FilterChainContext>FilterChainContext. operationCompletionHandlerCompletionHandler, which will be notified, when operation will be complete.Methods in org.glassfish.grizzly.filterchain that return FilterChainContext Modifier and Type Method Description FilterChainContextFilterChainContext. copy()static FilterChainContextFilterChainContext. create(Connection connection)static FilterChainContextFilterChainContext. create(Connection connection, Closeable closeable)FilterChainContextBaseFilter. createContext(Connection connection, FilterChainContext.Operation operation)FilterChainContextAbstractFilterChain. obtainFilterChainContext(Connection connection)FilterChainContextAbstractFilterChain. obtainFilterChainContext(Connection connection, int startIdx, int endIdx, int currentIdx)FilterChainContextAbstractFilterChain. obtainFilterChainContext(Connection connection, Closeable closeable)FilterChainContextAbstractFilterChain. obtainFilterChainContext(Connection connection, Closeable closeable, int startIdx, int endIdx, int currentIdx)FilterChainContextFilterChain. obtainFilterChainContext(Connection connection)FilterChainContextFilterChain. obtainFilterChainContext(Connection connection, int startIdx, int endIdx, int currentIdx)FilterChainContextFilterChain. obtainFilterChainContext(Connection connection, Closeable closeable)FilterChainContextFilterChain. obtainFilterChainContext(Connection connection, Closeable closeable, int startIdx, int endIdx, int currentIdx)Methods in org.glassfish.grizzly.filterchain with parameters of type FilterChainContext Modifier and Type Method Description intFilterExecutor. defaultEndIdx(FilterChainContext context)intFilterExecutor. defaultStartIdx(FilterChainContext context)voidBaseFilter. exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)Notification about exception, occurred on theFilterChainvoidFilter. exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)Notification about exception, occurred on theFilterChainProcessorResultDefaultFilterChain. execute(FilterChainContext ctx)Execute this FilterChain.ProcessorResultFilterChain. execute(FilterChainContext context)Method processes occurredIOEventon thisFilterChain.NextActionFilterExecutor. execute(Filter filter, FilterChainContext context)protected org.glassfish.grizzly.filterchain.DefaultFilterChain.FilterExecutionDefaultFilterChain. executeChainPart(FilterChainContext ctx, FilterExecutor executor, int start, int end, org.glassfish.grizzly.filterchain.DefaultFilterChain.FiltersState filtersState)protected NextActionDefaultFilterChain. executeFilter(FilterExecutor executor, Filter currentFilter, FilterChainContext ctx)voidDefaultFilterChain. fail(FilterChainContext context, java.lang.Throwable failure)voidFilterChain. fail(FilterChainContext context, java.lang.Throwable failure)intFilterExecutor. getNextFilter(FilterChainContext context)intFilterExecutor. getPreviousFilter(FilterChainContext context)NextActionBaseFilter. handleAccept(FilterChainContext ctx)Execute a unit of processing work to be performed, when server channel has accepted the client connection.NextActionFilter. handleAccept(FilterChainContext ctx)Execute a unit of processing work to be performed, when server channel has accepted the client connection.NextActionTransportFilter. handleAccept(FilterChainContext ctx)Delegates accept operation toTransport's specific transport filter.NextActionBaseFilter. handleClose(FilterChainContext ctx)Execute a unit of processing work to be performed, when connection has been closed.NextActionFilter. handleClose(FilterChainContext ctx)Execute a unit of processing work to be performed, when connection has been closed.NextActionTransportFilter. handleClose(FilterChainContext ctx)Delegates close operation toTransport's specific transport filter.NextActionBaseFilter. handleConnect(FilterChainContext ctx)Execute a unit of processing work to be performed, when channel gets connected.NextActionFilter. handleConnect(FilterChainContext ctx)Execute a unit of processing work to be performed, when channel gets connected.NextActionTransportFilter. handleConnect(FilterChainContext ctx)Delegates connect operation toTransport's specific transport filter.NextActionBaseFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)Handle custom event associated with theConnection.NextActionFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)Handle custom event associated with theConnection.NextActionTransportFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)Delegates event operation toTransport's specific transport filter.NextActionAbstractCodecFilter. handleRead(FilterChainContext ctx)NextActionBaseFilter. handleRead(FilterChainContext ctx)Execute a unit of processing work to be performed, when channel will become available for reading.NextActionFilter. handleRead(FilterChainContext ctx)Execute a unit of processing work to be performed, when channel will become available for reading.NextActionTransportFilter. handleRead(FilterChainContext ctx)Delegates reading operation toTransport's specific transport filter.NextActionAbstractCodecFilter. handleWrite(FilterChainContext ctx)NextActionBaseFilter. handleWrite(FilterChainContext ctx)Execute a unit of processing work to be performed, when some data should be written on channel.NextActionFilter. handleWrite(FilterChainContext ctx)Execute a unit of processing work to be performed, when some data should be written on channel.NextActionTransportFilter. handleWrite(FilterChainContext ctx)Delegates writing operation toTransport's specific transport filter.booleanFilterExecutor. hasNextFilter(FilterChainContext context, int idx)booleanFilterExecutor. hasPreviousFilter(FilterChainContext context, int idx)voidFilterExecutor. initIndexes(FilterChainContext context)voidFilterChainContext.CompletionListener. onComplete(FilterChainContext context)The method is called, when passedFilterChainContextprocessing is complete.voidFilterChainContext.CopyListener. onCopy(FilterChainContext srcContext, FilterChainContext copiedContext)The method is called, when passedFilterChainContextis copied.ReadResultDefaultFilterChain. read(FilterChainContext context)ReadResultFilterChain. read(FilterChainContext context)Method parameters in org.glassfish.grizzly.filterchain with type arguments of type FilterChainContext Modifier and Type Method Description 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)voidFilterChainContext. notifyDownstream(FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler)voidFilterChainContext. notifyUpstream(FilterChainEvent event, CompletionHandler<FilterChainContext> completionHandler) -
Uses of FilterChainContext in org.glassfish.grizzly.http
Methods in org.glassfish.grizzly.http with parameters of type FilterChainContext Modifier and Type Method Description HttpContextHttpContext. attach(FilterChainContext ctx)protected booleanHttpCodecFilter. decodeHttpPacket(FilterChainContext ctx, HttpPacketParsing httpPacket, Buffer input)protected booleanHttpCodecFilter. decodeHttpPacketFromBuffer(FilterChainContext ctx, HttpPacketParsing httpPacket, Buffer input)protected booleanHttpCodecFilter. decodeHttpPacketFromBytes(FilterChainContext ctx, HttpPacketParsing httpPacket, Buffer inputBuffer)protected BufferHttpClientFilter. encodeHttpPacket(FilterChainContext ctx, HttpPacket input)protected BufferHttpCodecFilter. encodeHttpPacket(FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent, boolean isContentAlreadyEncoded)protected BufferHttpCodecFilter. encodeHttpPacket(FilterChainContext ctx, HttpPacket input)protected BufferHttpServerFilter. encodeHttpPacket(FilterChainContext ctx, HttpPacket input)static HttpContextHttpContext. get(FilterChainContext ctx)NextActionHttpServerFilter. handleClose(FilterChainContext ctx)NextActionHttpClientFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionHttpServerFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionHttpClientFilter. handleRead(FilterChainContext ctx)The method is called, once we have received aBuffer, which has to be transformed into HTTP response packet part.NextActionHttpCodecFilter. handleRead(FilterChainContext ctx, HttpHeader httpHeader)The method is called by the specific HttpCodecFilter implementation, once we have received aBuffer, which has to be transformed into HTTP packet part.NextActionHttpServerFilter. handleRead(FilterChainContext ctx)The method is called, once we have received aBuffer, which has to be transformed into HTTP request packet part.NextActionHttpClientFilter. handleWrite(FilterChainContext ctx)NextActionHttpCodecFilter. handleWrite(FilterChainContext ctx)The method is called, once we need to serialize aHttpPacket, which may represent HTTP packet header, content or content chunk.protected voidHttpClientFilter. onHttpContentEncoded(HttpContent content, FilterChainContext ctx)protected abstract voidHttpCodecFilter. onHttpContentEncoded(HttpContent content, FilterChainContext ctx)Invoked when a HTTP body chunk has been encoded in preparation to being transmitted to the user-agent.protected voidHttpServerFilter. onHttpContentEncoded(HttpContent content, FilterChainContext ctx)protected voidHttpClientFilter. onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, java.lang.Throwable t)protected abstract voidHttpCodecFilter. onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, java.lang.Throwable t)Callback which is invoked when parsing an HTTP message payload fails.protected voidHttpServerFilter. onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, java.lang.Throwable t)protected voidHttpClientFilter. onHttpContentParsed(HttpContent content, FilterChainContext ctx)protected abstract voidHttpCodecFilter. onHttpContentParsed(HttpContent content, FilterChainContext ctx)Invoked as request/response body content has been processed by thisFilter.protected voidHttpServerFilter. onHttpContentParsed(HttpContent content, FilterChainContext ctx)protected voidHttpClientFilter. onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, java.lang.Throwable t)protected abstract voidHttpCodecFilter. onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, java.lang.Throwable t)Callback which is invoked when parsing an HTTP message header fails.protected voidHttpServerFilter. onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, java.lang.Throwable t)protected booleanHttpClientFilter. onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx)protected abstract booleanHttpCodecFilter. onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx)Callback invoked when the HTTP message header parsing is complete.protected booleanHttpServerFilter. onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx)protected voidHttpClientFilter. onHttpHeadersEncoded(HttpHeader httpHeader, FilterChainContext ctx)protected abstract voidHttpCodecFilter. onHttpHeadersEncoded(HttpHeader httpHeader, FilterChainContext ctx)Invoked when HTTP headers have been encoded in preparation to being transmitted to the user-agent.protected voidHttpServerFilter. onHttpHeadersEncoded(HttpHeader httpHeader, FilterChainContext ctx)protected voidHttpClientFilter. onHttpHeadersParsed(HttpHeader httpHeader, MimeHeaders headers, FilterChainContext ctx)protected abstract voidHttpCodecFilter. onHttpHeadersParsed(HttpHeader httpHeader, MimeHeaders headers, FilterChainContext ctx)Invoked when HTTP headers portion comes forHttpHeadermessage.protected voidHttpServerFilter. onHttpHeadersParsed(HttpHeader httpHeader, MimeHeaders headers, FilterChainContext ctx)protected booleanHttpClientFilter. onHttpPacketParsed(HttpHeader httpHeader, FilterChainContext ctx)protected abstract booleanHttpCodecFilter. onHttpPacketParsed(HttpHeader httpHeader, FilterChainContext ctx)Callback method, called whenHttpPacketparsing has been completed.protected booleanHttpServerFilter. onHttpPacketParsed(HttpHeader httpHeader, FilterChainContext ctx)protected voidHttpCodecFilter. onIncomingUpgrade(FilterChainContext ctx, HttpHeader httpHeader)The method is called, when a peer sends an upgrade HTTP packet (either request or response).protected voidHttpClientFilter. onInitialLineEncoded(HttpHeader header, FilterChainContext ctx)protected abstract voidHttpCodecFilter. onInitialLineEncoded(HttpHeader httpHeader, FilterChainContext ctx)Invoked when the initial response line has been encoded in preparation to being transmitted to the user-agent.protected voidHttpServerFilter. onInitialLineEncoded(HttpHeader header, FilterChainContext ctx)protected voidHttpClientFilter. onInitialLineParsed(HttpHeader httpHeader, FilterChainContext ctx)protected abstract voidHttpCodecFilter. onInitialLineParsed(HttpHeader httpHeader, FilterChainContext ctx)Invoked when either the request line or status line has been parsed.protected voidHttpServerFilter. onInitialLineParsed(HttpHeader httpHeader, FilterChainContext ctx)protected voidHttpCodecFilter. onOutgoingUpgrade(FilterChainContext ctx, HttpHeader httpHeader)ParsingResultChunkedTransferEncoding. parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer buffer)Parse HTTP packet payload, represented byBufferusing specific transfer encoding.ParsingResultFixedLengthTransferEncoding. parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer input)Parse HTTP packet payload, represented byBufferusing specific transfer encoding.ParsingResultTransferEncoding. parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer buffer)Parse HTTP packet payload, represented byBufferusing specific transfer encoding.voidChunkedTransferEncoding. prepareSerialize(FilterChainContext ctx, HttpHeader httpHeader, HttpContent content)This method will be called byHttpCodecFilterto let TransferEncoding prepare itself for the content serialization.voidFixedLengthTransferEncoding. prepareSerialize(FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent)voidTransferEncoding. prepareSerialize(FilterChainContext ctx, HttpHeader httpHeader, HttpContent content)This method will be called byHttpCodecFilterto let TransferEncoding prepare itself for the content serialization.BufferChunkedTransferEncoding. serializePacket(FilterChainContext ctx, HttpContent httpContent)Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.BufferFixedLengthTransferEncoding. serializePacket(FilterChainContext ctx, HttpContent httpContent)Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.BufferTransferEncoding. serializePacket(FilterChainContext ctx, HttpContent httpContent)Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding. -
Uses of FilterChainContext in org.glassfish.grizzly.http.io
Methods in org.glassfish.grizzly.http.io with parameters of type FilterChainContext Modifier and Type Method Description voidInputBuffer. initialize(HttpHeader httpHeader, FilterChainContext ctx)Per-request initialization required for the InputBuffer to function properly.voidOutputBuffer. initialize(HttpHeader outputHeader, boolean sendfileEnabled, FilterChainContext ctx) -
Uses of FilterChainContext in org.glassfish.grizzly.http.server
Fields in org.glassfish.grizzly.http.server declared as FilterChainContext Modifier and Type Field Description protected FilterChainContextRequest. ctxprotected FilterChainContextResponse. ctxGrizzlyFilterChaincontext, related to this HTTP request/responseMethods in org.glassfish.grizzly.http.server that return FilterChainContext Modifier and Type Method Description FilterChainContextRequest. getContext()Methods in org.glassfish.grizzly.http.server with parameters of type FilterChainContext Modifier and Type Method Description voidHttpServerFilter. exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)Override the default implementation to notify theReadHandler, if available, of any read error that has occurred during processing.NextActionHttpServerFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionFileCacheFilter. handleRead(FilterChainContext ctx)NextActionHttpServerFilter. handleRead(FilterChainContext ctx)voidRequest. initialize(HttpRequestPacket request, FilterChainContext ctx, HttpServerFilter httpServerFilter)voidResponse. initialize(Request request, HttpResponsePacket response, FilterChainContext ctx, DelayedExecutor.DelayQueue<Response.SuspendTimeout> delayQueue, HttpServerFilter serverFilter)protected FileCacheFilterStaticHttpHandlerBase. lookupFileCache(FilterChainContext fcContext) -
Uses of FilterChainContext in org.glassfish.grizzly.http.server.io
Methods in org.glassfish.grizzly.http.server.io with parameters of type FilterChainContext Modifier and Type Method Description voidServerInputBuffer. initialize(Request serverRequest, FilterChainContext ctx)voidServerOutputBuffer. initialize(Response response, FilterChainContext ctx) -
Uses of FilterChainContext in org.glassfish.grizzly.nio.transport
Methods in org.glassfish.grizzly.nio.transport with parameters of type FilterChainContext Modifier and Type Method Description voidTCPNIOTransportFilter. exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)voidUDPNIOTransportFilter. exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)NextActionTCPNIOTransportFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionUDPNIOTransportFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionTCPNIOTransportFilter. handleRead(FilterChainContext ctx)NextActionUDPNIOTransportFilter. handleRead(FilterChainContext ctx)NextActionTCPNIOTransportFilter. handleWrite(FilterChainContext ctx)NextActionUDPNIOTransportFilter. handleWrite(FilterChainContext ctx) -
Uses of FilterChainContext in org.glassfish.grizzly.ssl
Methods in org.glassfish.grizzly.ssl that return FilterChainContext Modifier and Type Method Description FilterChainContextSSLBaseFilter.SSLTransportFilterWrapper. createContext(Connection connection, FilterChainContext.Operation operation)Methods in org.glassfish.grizzly.ssl with parameters of type FilterChainContext Modifier and Type Method Description protected BufferSSLBaseFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer)protected BufferSSLBaseFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, Buffer tmpAppBuffer0)protected BufferSSLFilter. doHandshakeStep(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, Buffer tmpAppBuffer0)protected BufferSSLBaseFilter. doHandshakeSync(SSLConnectionContext sslCtx, FilterChainContext ctx, Buffer inputBuffer, long timeoutMillis)voidSSLBaseFilter.SSLTransportFilterWrapper. exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)protected voidSSLBaseFilter. getPeerCertificateChain(SSLConnectionContext sslCtx, FilterChainContext context, boolean needClientAuth, FutureImpl<java.lang.Object[]> certFuture)Obtains the certificate chain for this SSL session.NextActionSSLBaseFilter.SSLTransportFilterWrapper. handleAccept(FilterChainContext ctx)NextActionSSLBaseFilter.SSLTransportFilterWrapper. handleClose(FilterChainContext ctx)NextActionSSLBaseFilter.SSLTransportFilterWrapper. handleConnect(FilterChainContext ctx)NextActionSSLBaseFilter. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionSSLBaseFilter.SSLTransportFilterWrapper. handleEvent(FilterChainContext ctx, FilterChainEvent event)NextActionSSLBaseFilter. handleRead(FilterChainContext ctx)NextActionSSLBaseFilter.SSLTransportFilterWrapper. handleRead(FilterChainContext ctx)NextActionSSLBaseFilter. handleWrite(FilterChainContext ctx)NextActionSSLBaseFilter.SSLTransportFilterWrapper. handleWrite(FilterChainContext ctx)NextActionSSLFilter. handleWrite(FilterChainContext ctx)protected voidSSLFilter. handshake(Connection<?> connection, CompletionHandler<javax.net.ssl.SSLEngine> completionHandler, java.lang.Object dstAddress, SSLEngineConfigurator sslEngineConfigurator, FilterChainContext context, boolean forceBeginHandshake)protected voidSSLBaseFilter. renegotiate(SSLConnectionContext sslCtx, FilterChainContext context)Performs an SSL renegotiation.GrizzlyFuture<java.lang.Object[]>SSLBaseFilter.CertificateEvent. trigger(FilterChainContext ctx)Invoke this method to trigger processing to abtain certificates from the remote peer.protected NextActionSSLBaseFilter. unwrapAll(FilterChainContext ctx, SSLConnectionContext sslCtx)protected BufferSSLBaseFilter. wrapAll(FilterChainContext ctx, SSLConnectionContext sslCtx) -
Uses of FilterChainContext in org.glassfish.grizzly.utils
-