Uses of Class
org.glassfish.grizzly.http.HttpHeader
Packages that use HttpHeader
Package
Description
-
Uses of HttpHeader in org.glassfish.grizzly.http
Subclasses of HttpHeader in org.glassfish.grizzly.httpModifier and TypeClassDescriptionclassTheHttpHeaderobject, which represents HTTP request message.classTheHttpHeaderobject, which represents HTTP response message.Fields in org.glassfish.grizzly.http declared as HttpHeaderModifier and TypeFieldDescriptionprotected HttpHeaderHttpContent.Builder.httpHeaderprotected HttpHeaderHttpContent.httpHeaderMethods in org.glassfish.grizzly.http that return HttpHeaderModifier and TypeMethodDescriptionHttpHeader.Builder.build()protected abstract HttpHeaderHttpHeader.Builder.create()protected HttpHeaderHttpRequestPacket.Builder.create()protected HttpHeaderHttpResponsePacket.Builder.create()final HttpHeaderHttpContent.getHttpHeader()Get the HTTP message header, associated with this content.HttpHeader.getHttpHeader()Returns this HttpHeader object.abstract HttpHeaderHttpPacket.getHttpHeader()Get the HTTP message header, associated with this HTTP packet.HttpEvents.ChangePacketInProgressEvent.getPacket()Methods in org.glassfish.grizzly.http with parameters of type HttpHeaderModifier and TypeMethodDescriptionbooleanEncodingFilter.applyDecoding(HttpHeader httpPacket) booleanEncodingFilter.applyEncoding(HttpHeader httpPacket) static HttpBrokenContent.BuilderHttpBrokenContent.builder(HttpHeader httpHeader) ReturnsHttpTrailerbuilder.static HttpContent.BuilderHttpContent.builder(HttpHeader httpHeader) ReturnsHttpContentbuilder.static HttpTrailer.BuilderHttpTrailer.builder(HttpHeader httpHeader) ReturnsHttpTrailerbuilder.static HttpBrokenContentHttpBrokenContent.create(HttpHeader httpHeader) static HttpContentHttpContent.create(HttpHeader httpHeader) static HttpContentHttpContent.create(HttpHeader httpHeader, boolean isLast) static HttpContentHttpContent.create(HttpHeader httpHeader, boolean isLast, Buffer content) static HttpTrailerHttpTrailer.create(HttpHeader httpHeader) HttpEvents.createChangePacketInProgressEvent(HttpHeader packet) HttpEvents.createIncomingUpgradeEvent(HttpHeader httpHeader) HttpEvents.createOutgoingUpgradeEvent(HttpHeader httpHeader) protected final BufferHttpCodecFilter.encodeHttpPacket(FilterChainContext ctx, HttpHeader httpHeader, HttpContent httpContent, boolean isContentAlreadyEncoded) protected static BufferHttpCodecFilter.encodeKnownHeaders(MemoryManager memoryManager, Buffer buffer, HttpHeader httpHeader) final 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.final THttpContent.Builder.httpHeader(HttpHeader httpHeader) Set theHttpHeaderassociated with this content.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.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).protected voidHttpClientFilter.onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) protected abstract voidHttpCodecFilter.onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) Callback which is invoked when parsing an HTTP message payload fails.protected voidHttpServerFilter.onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) protected voidHttpClientFilter.onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) protected abstract voidHttpCodecFilter.onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) Callback which is invoked when parsing an HTTP message header fails.protected voidHttpServerFilter.onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, 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 final 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) 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.protected booleanHttpCodecFilter.parseHeaderFromBuffer(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) protected booleanHttpCodecFilter.parseHeaderFromBytes(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, byte[] input, int end) protected booleanHttpCodecFilter.parseHeaderName(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, byte[] input, int end) protected booleanHttpCodecFilter.parseHeaderName(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) protected booleanHttpCodecFilter.parseHeadersFromBuffer(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) protected booleanHttpCodecFilter.parseHeadersFromBytes(HttpHeader httpHeader, MimeHeaders mimeHeaders, HttpCodecFilter.HeaderParsingState parsingState, byte[] input, int end) protected static intHttpCodecFilter.parseHeaderValue(HttpHeader httpHeader, HttpCodecFilter.HeaderParsingState parsingState, byte[] input, int end) protected static intHttpCodecFilter.parseHeaderValue(HttpHeader httpHeader, HttpCodecFilter.HeaderParsingState parsingState, Buffer input) ChunkedTransferEncoding.parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer buffer) Parse HTTP packet payload, represented byBufferusing specific transfer encoding.FixedLengthTransferEncoding.parsePacket(FilterChainContext ctx, HttpHeader httpPacket, Buffer input) Parse HTTP packet payload, represented byBufferusing specific transfer encoding.TransferEncoding.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.booleanChunkedTransferEncoding.wantDecode(HttpHeader httpPacket) Return true if this encoding should be used to parse the content of the passedHttpHeader, or false otherwise.booleanContentEncoding.wantDecode(HttpHeader header) Method should implement the logic, which decides if HTTP packet with the specificHttpHeadershould be decoded using this ContentEncoding.booleanFixedLengthTransferEncoding.wantDecode(HttpHeader httpPacket) Return true if this encoding should be used to parse the content of the passedHttpHeader, or false otherwise.final booleanGZipContentEncoding.wantDecode(HttpHeader header) booleanLZMAContentEncoding.wantDecode(HttpHeader header) booleanTransferEncoding.wantDecode(HttpHeader httpPacket) Return true if this encoding should be used to parse the content of the passedHttpHeader, or false otherwise.booleanChunkedTransferEncoding.wantEncode(HttpHeader httpPacket) Return true if this encoding should be used to serialize the content of the passedHttpHeader, or false otherwise.booleanContentEncoding.wantEncode(HttpHeader header) Method should implement the logic, which decides if HTTP packet with the specificHttpHeadershould be encoded using this ContentEncoding.booleanFixedLengthTransferEncoding.wantEncode(HttpHeader httpPacket) Return true if this encoding should be used to serialize the content of the passedHttpHeader, or false otherwise.final booleanGZipContentEncoding.wantEncode(HttpHeader header) booleanLZMAContentEncoding.wantEncode(HttpHeader header) booleanTransferEncoding.wantEncode(HttpHeader httpPacket) Return true if this encoding should be used to serialize the content of the passedHttpHeader, or false otherwise.Constructors in org.glassfish.grizzly.http with parameters of type HttpHeaderModifierConstructorDescriptionprotectedHttpBrokenContent(HttpHeader httpHeader) protectedHttpContent(HttpHeader httpHeader) protectedHttpContent(HttpHeader httpHeader, boolean isLast, Buffer content) protectedHttpTrailer(HttpHeader httpHeader) -
Uses of HttpHeader in org.glassfish.grizzly.http.ajp
Subclasses of HttpHeader in org.glassfish.grizzly.http.ajpModifier and TypeClassDescriptionfinal classHttpRequestPacketimplementation, which also contains AJP related meta data.final classHttpResponsePacketimplementation, which also contains AJP related meta data. -
Uses of HttpHeader in org.glassfish.grizzly.http.io
Methods in org.glassfish.grizzly.http.io with parameters of type HttpHeaderModifier and TypeMethodDescriptionvoidInputBuffer.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 HttpHeader in org.glassfish.grizzly.http.server
Methods in org.glassfish.grizzly.http.server with parameters of type HttpHeaderModifier and TypeMethodDescriptionbooleanCompressionEncodingFilter.applyDecoding(HttpHeader httpPacket) booleanCompressionEncodingFilter.applyEncoding(HttpHeader httpPacket) -
Uses of HttpHeader in org.glassfish.grizzly.http.server.http2
Methods in org.glassfish.grizzly.http.server.http2 that return HttpHeader -
Uses of HttpHeader in org.glassfish.grizzly.http2
Methods in org.glassfish.grizzly.http2 with parameters of type HttpHeaderModifier and TypeMethodDescriptionprotected List<Http2Frame>Http2Session.encodeHttpHeaderAsHeaderFrames(FilterChainContext ctx, HttpHeader httpHeader, int streamId, boolean isLast, List<Http2Frame> toList, Map<String, String> capture) Encodes theHttpHeaderand locks the compression lock.static Http2StreamHttp2Stream.getStreamFor(HttpHeader httpHeader) protected booleanHttp2BaseFilter.isHttp2UpgradingVersion(HttpHeader httpHeader) protected voidHttp2BaseFilter.onHttpContentError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) protected voidHttp2BaseFilter.onHttpHeaderError(HttpHeader httpHeader, FilterChainContext ctx, Throwable t) protected booleanHttp2BaseFilter.onHttpHeaderParsed(HttpHeader httpHeader, Buffer buffer, FilterChainContext ctx) protected voidHttp2BaseFilter.onHttpHeadersEncoded(HttpHeader httpHeader, FilterChainContext ctx) protected voidHttp2BaseFilter.onHttpHeadersParsed(HttpHeader httpHeader, FilterChainContext ctx) protected voidHttp2ServerFilter.onHttpHeadersParsed(HttpHeader httpHeader, FilterChainContext ctx) protected booleanHttp2BaseFilter.onHttpPacketParsed(HttpHeader httpHeader, FilterChainContext ctx) protected voidHttp2BaseFilter.onInitialLineEncoded(HttpHeader httpHeader, FilterChainContext ctx) protected voidHttp2BaseFilter.onInitialLineParsed(HttpHeader httpHeader, FilterChainContext ctx) protected abstract voidHttp2BaseFilter.processOutgoingHttpHeader(FilterChainContext ctx, Http2Session http2Session, HttpHeader httpHeader, HttpPacket entireHttpPacket) protected voidHttp2ClientFilter.processOutgoingHttpHeader(FilterChainContext ctx, Http2Session http2Session, HttpHeader httpHeader, HttpPacket entireHttpPacket) Process the provided outbound header/packet.protected voidHttp2ServerFilter.processOutgoingHttpHeader(FilterChainContext ctx, Http2Session http2Session, HttpHeader httpHeader, HttpPacket entireHttpPacket)