Uses of Class
org.glassfish.grizzly.http.HttpContent
Packages that use HttpContent
-
Uses of HttpContent in org.glassfish.grizzly.http
Subclasses of HttpContent in org.glassfish.grizzly.httpModifier and TypeClassDescriptionclassHttpContentmessage, which represents broken HTTP content.classHttpContentmessage, which represents HTTP trailer message.Methods in org.glassfish.grizzly.http that return HttpContentModifier and TypeMethodDescriptionHttpContent.append(HttpContent element) HttpContent.Builder.build()Build the HttpContent message.protected HttpContentHttpBrokenContent.Builder.create()protected HttpContentHttpContent.Builder.create()static HttpContentHttpContent.create()static HttpContentHttpContent.create(HttpHeader httpHeader) static HttpContentHttpContent.create(HttpHeader httpHeader, boolean isLast) static HttpContentHttpContent.create(HttpHeader httpHeader, boolean isLast, org.glassfish.grizzly.Buffer content) protected HttpContentHttpTrailer.Builder.create()protected HttpContentHttpServerFilter.customizeErrorResponse(HttpResponsePacket response) ContentEncoding.encode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) Encode HTTP packet content represented byHttpContent.GZipContentEncoding.encode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) LZMAContentEncoding.encode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) ParsingResult.getHttpContent()Methods in org.glassfish.grizzly.http with parameters of type HttpContentModifier and TypeMethodDescriptionHttpContent.append(HttpContent element) static ParsingResultParsingResult.create(HttpContent httpContent, org.glassfish.grizzly.Buffer remainderBuffer) static ParsingResultParsingResult.create(HttpContent httpContent, org.glassfish.grizzly.Buffer remainderBuffer, boolean sendHeaderUpstream) ContentEncoding.decode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) Decode HTTP packet content represented byHttpContent.GZipContentEncoding.decode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) LZMAContentEncoding.decode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) ContentEncoding.encode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) Encode HTTP packet content represented byHttpContent.GZipContentEncoding.encode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) LZMAContentEncoding.encode(org.glassfish.grizzly.Connection connection, HttpContent httpContent) protected final org.glassfish.grizzly.BufferHttpCodecFilter.encodeHttpPacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent, boolean isContentAlreadyEncoded) static booleanHttpContent.isBroken(HttpContent httpContent) Returns true if passedHttpContentis a BrokenHttpContent.static booleanHttpTrailer.isTrailer(HttpContent httpContent) voidHttpProbe.Adapter.onContentChunkParseEvent(org.glassfish.grizzly.Connection connection, HttpContent content) Method will be called, when HTTP message content chunk gets parsed (either request or response).voidHttpProbe.onContentChunkParseEvent(org.glassfish.grizzly.Connection connection, HttpContent content) Method will be called, when HTTP message content chunk gets parsed (either request or response).voidHttpProbe.Adapter.onContentChunkSerializeEvent(org.glassfish.grizzly.Connection connection, HttpContent content) Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response).voidHttpProbe.onContentChunkSerializeEvent(org.glassfish.grizzly.Connection connection, HttpContent content) Method will be called, when HTTP message content chunk is prepared to be serialized (either request or response).protected voidHttpClientFilter.onHttpContentEncoded(HttpContent content, org.glassfish.grizzly.filterchain.FilterChainContext ctx) protected abstract voidHttpCodecFilter.onHttpContentEncoded(HttpContent content, org.glassfish.grizzly.filterchain.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, org.glassfish.grizzly.filterchain.FilterChainContext ctx) protected voidHttpClientFilter.onHttpContentParsed(HttpContent content, org.glassfish.grizzly.filterchain.FilterChainContext ctx) protected abstract voidHttpCodecFilter.onHttpContentParsed(HttpContent content, org.glassfish.grizzly.filterchain.FilterChainContext ctx) Invoked as request/response body content has been processed by thisFilter.protected voidHttpServerFilter.onHttpContentParsed(HttpContent content, org.glassfish.grizzly.filterchain.FilterChainContext ctx) voidChunkedTransferEncoding.prepareSerialize(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpHeader httpHeader, HttpContent content) This method will be called byHttpCodecFilterto let TransferEncoding prepare itself for the content serialization.voidFixedLengthTransferEncoding.prepareSerialize(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent) voidTransferEncoding.prepareSerialize(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpHeader httpHeader, HttpContent content) This method will be called byHttpCodecFilterto let TransferEncoding prepare itself for the content serialization.org.glassfish.grizzly.BufferChunkedTransferEncoding.serializePacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.org.glassfish.grizzly.BufferFixedLengthTransferEncoding.serializePacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding.org.glassfish.grizzly.BufferTransferEncoding.serializePacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx, HttpContent httpContent) Serialize HTTP packet payload, represented byHttpContentusing specific transfer encoding. -
Uses of HttpContent in org.glassfish.grizzly.http.io
Methods in org.glassfish.grizzly.http.io that return HttpContentModifier and TypeMethodDescriptionprotected HttpContentInputBuffer.blockingRead()Read next chunk of data in this thread, block if needed.Methods in org.glassfish.grizzly.http.io with parameters of type HttpContentModifier and TypeMethodDescriptionbooleanInputBuffer.append(HttpContent httpContent) Appends the specifiedBufferto the internal compositeBuffer.