|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HttpHeader | |
|---|---|
| org.glassfish.grizzly.http | |
| Uses of HttpHeader in org.glassfish.grizzly.http |
|---|
| Subclasses of HttpHeader in org.glassfish.grizzly.http | |
|---|---|
class |
HttpRequestPacket
The HttpHeader object, which represents HTTP request message. |
class |
HttpResponsePacket
The HttpHeader object, which represents HTTP response message. |
| Fields in org.glassfish.grizzly.http declared as HttpHeader | |
|---|---|
protected HttpHeader |
HttpContent.httpHeader
|
protected HttpHeader |
HttpHeader.Builder.packet
|
| Methods in org.glassfish.grizzly.http that return HttpHeader | |
|---|---|
HttpHeader |
HttpContent.getHttpHeader()
Get the HTTP message header, associated with this content. |
| Methods in org.glassfish.grizzly.http with parameters of type HttpHeader | |
|---|---|
boolean |
EncodingFilter.applyDecoding(HttpHeader httpPacket)
|
boolean |
EncodingFilter.applyEncoding(HttpHeader httpPacket)
|
static HttpContent.Builder |
HttpContent.builder(HttpHeader httpHeader)
Returns HttpContent builder. |
static HttpTrailer.Builder |
HttpTrailer.builder(HttpHeader httpHeader)
Returns HttpTrailer builder. |
static HttpBrokenContent.Builder |
HttpBrokenContent.builder(HttpHeader httpHeader)
Returns HttpTrailer builder. |
static HttpContent |
HttpContent.create(HttpHeader httpHeader)
|
static HttpTrailer |
HttpTrailer.create(HttpHeader httpHeader)
|
static HttpBrokenContent |
HttpBrokenContent.create(HttpHeader httpHeader)
|
protected Buffer |
HttpCodecFilter.encodeHttpPacket(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent httpContent,
boolean isContentAlreadyEncoded)
|
protected static Buffer |
HttpCodecFilter.encodeKnownHeaders(MemoryManager memoryManager,
Buffer buffer,
HttpHeader httpHeader)
|
void |
HttpProbe.onContentEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
Method will be called, when ContentEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk. |
void |
HttpProbe.Adapter.onContentEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
Method will be called, when ContentEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk. |
void |
HttpProbe.onContentEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
Method will be called, when ContentEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk. |
void |
HttpProbe.Adapter.onContentEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
ContentEncoding contentEncoding)
Method will be called, when ContentEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk. |
void |
HttpProbe.onHeaderParseEvent(Connection connection,
HttpHeader header,
int size)
Method will be called, when HTTP message header gets parsed (either request or response). |
void |
HttpProbe.Adapter.onHeaderParseEvent(Connection connection,
HttpHeader header,
int size)
Method will be called, when HTTP message header gets parsed (either request or response). |
void |
HttpProbe.onHeaderSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer)
Method will be called, when HTTP message header gets serialized (either request or response). |
void |
HttpProbe.Adapter.onHeaderSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer)
Method will be called, when HTTP message header gets serialized (either request or response). |
protected abstract void |
HttpCodecFilter.onHttpContentError(HttpHeader httpHeader,
FilterChainContext ctx,
Throwable t)
Callback which is invoked when parsing an HTTP message payload fails. |
protected void |
HttpClientFilter.onHttpContentError(HttpHeader httpHeader,
FilterChainContext ctx,
Throwable t)
|
protected void |
HttpServerFilter.onHttpContentError(HttpHeader httpHeader,
FilterChainContext ctx,
Throwable t)
|
protected abstract void |
HttpCodecFilter.onHttpHeaderError(HttpHeader httpHeader,
FilterChainContext ctx,
Throwable t)
Callback which is invoked when parsing an HTTP message header fails. |
protected void |
HttpClientFilter.onHttpHeaderError(HttpHeader httpHeader,
FilterChainContext ctx,
Throwable t)
|
protected void |
HttpServerFilter.onHttpHeaderError(HttpHeader httpHeader,
FilterChainContext ctx,
Throwable t)
|
protected abstract boolean |
HttpCodecFilter.onHttpHeaderParsed(HttpHeader httpHeader,
Buffer buffer,
FilterChainContext ctx)
Callback invoked when the HTTP message header parsing is complete. |
protected boolean |
HttpClientFilter.onHttpHeaderParsed(HttpHeader httpHeader,
Buffer buffer,
FilterChainContext ctx)
|
protected boolean |
HttpServerFilter.onHttpHeaderParsed(HttpHeader httpHeader,
Buffer buffer,
FilterChainContext ctx)
|
protected abstract void |
HttpCodecFilter.onHttpHeadersEncoded(HttpHeader httpHeader,
FilterChainContext ctx)
Invoked when HTTP headers have been encoded in preparation to being transmitted to the user-agent. |
protected void |
HttpClientFilter.onHttpHeadersEncoded(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected void |
HttpServerFilter.onHttpHeadersEncoded(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected abstract void |
HttpCodecFilter.onHttpHeadersParsed(HttpHeader httpHeader,
FilterChainContext ctx)
Invoked when all headers of the packet have been parsed. |
protected void |
HttpClientFilter.onHttpHeadersParsed(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected void |
HttpServerFilter.onHttpHeadersParsed(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected abstract boolean |
HttpCodecFilter.onHttpPacketParsed(HttpHeader httpHeader,
FilterChainContext ctx)
Callback method, called when HttpPacket parsing has been completed. |
protected boolean |
HttpClientFilter.onHttpPacketParsed(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected boolean |
HttpServerFilter.onHttpPacketParsed(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected abstract void |
HttpCodecFilter.onInitialLineEncoded(HttpHeader httpHeader,
FilterChainContext ctx)
Invoked when the intial response line has been encoded in preparation to being transmitted to the user-agent. |
protected void |
HttpClientFilter.onInitialLineEncoded(HttpHeader header,
FilterChainContext ctx)
|
protected void |
HttpServerFilter.onInitialLineEncoded(HttpHeader header,
FilterChainContext ctx)
|
protected abstract void |
HttpCodecFilter.onInitialLineParsed(HttpHeader httpHeader,
FilterChainContext ctx)
Invoked when either the request line or status line has been parsed. |
protected void |
HttpClientFilter.onInitialLineParsed(HttpHeader httpHeader,
FilterChainContext ctx)
|
protected void |
HttpServerFilter.onInitialLineParsed(HttpHeader httpHeader,
FilterChainContext ctx)
|
void |
HttpProbe.onTransferEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
Method will be called, when TransferEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk. |
void |
HttpProbe.Adapter.onTransferEncodingParseEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
Method will be called, when TransferEncoding will be applied
during the parsing/decoding of the certain HTTP message content chunk. |
void |
HttpProbe.onTransferEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
Method will be called, when TransferEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk. |
void |
HttpProbe.Adapter.onTransferEncodingSerializeEvent(Connection connection,
HttpHeader header,
Buffer buffer,
TransferEncoding transferEncoding)
Method will be called, when TransferEncoding will be applied
during the serialization/encoding of the certain HTTP message content chunk. |
protected static boolean |
HttpCodecFilter.parseHeader(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
Buffer input)
|
protected static boolean |
HttpCodecFilter.parseHeaderName(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
Buffer input)
|
protected boolean |
HttpCodecFilter.parseHeaders(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
Buffer input)
|
protected static int |
HttpCodecFilter.parseHeaderValue(HttpHeader httpHeader,
HttpCodecFilter.HeaderParsingState parsingState,
Buffer input)
|
ParsingResult |
ChunkedTransferEncoding.parsePacket(FilterChainContext ctx,
HttpHeader httpPacket,
Buffer input)
Parse HTTP packet payload, represented by Buffer using specific
transfer encoding. |
ParsingResult |
TransferEncoding.parsePacket(FilterChainContext ctx,
HttpHeader httpPacket,
Buffer buffer)
Parse HTTP packet payload, represented by Buffer using specific
transfer encoding. |
ParsingResult |
FixedLengthTransferEncoding.parsePacket(FilterChainContext ctx,
HttpHeader httpPacket,
Buffer input)
Parse HTTP packet payload, represented by Buffer using specific
transfer encoding. |
void |
ChunkedTransferEncoding.prepareSerialize(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent content)
This method will be called by HttpCodecFilter to let
TransferEncoding prepare itself for the content serialization. |
void |
TransferEncoding.prepareSerialize(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent content)
This method will be called by HttpCodecFilter to let
TransferEncoding prepare itself for the content serialization. |
void |
FixedLengthTransferEncoding.prepareSerialize(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent httpContent)
|
boolean |
ChunkedTransferEncoding.wantDecode(HttpHeader httpPacket)
Return true if this encoding should be used to parse the content of the passed HttpHeader, or false otherwise. |
boolean |
ContentEncoding.wantDecode(HttpHeader header)
Method should implement the logic, which decides if HTTP packet with the specific HttpHeader should be decoded using this ContentEncoding. |
boolean |
LZMAContentEncoding.wantDecode(HttpHeader header)
|
boolean |
TransferEncoding.wantDecode(HttpHeader httpPacket)
Return true if this encoding should be used to parse the content of the passed HttpHeader, or false otherwise. |
boolean |
FixedLengthTransferEncoding.wantDecode(HttpHeader httpPacket)
Return true if this encoding should be used to parse the content of the passed HttpHeader, or false otherwise. |
boolean |
GZipContentEncoding.wantDecode(HttpHeader header)
|
boolean |
ChunkedTransferEncoding.wantEncode(HttpHeader httpPacket)
Return true if this encoding should be used to serialize the content of the passed HttpHeader, or false otherwise. |
boolean |
ContentEncoding.wantEncode(HttpHeader header)
Method should implement the logic, which decides if HTTP packet with the specific HttpHeader should be encoded using this ContentEncoding. |
boolean |
LZMAContentEncoding.wantEncode(HttpHeader header)
|
boolean |
TransferEncoding.wantEncode(HttpHeader httpPacket)
Return true if this encoding should be used to serialize the content of the passed HttpHeader, or false otherwise. |
boolean |
FixedLengthTransferEncoding.wantEncode(HttpHeader httpPacket)
Return true if this encoding should be used to serialize the content of the passed HttpHeader, or false otherwise. |
boolean |
GZipContentEncoding.wantEncode(HttpHeader header)
|
| Constructors in org.glassfish.grizzly.http with parameters of type HttpHeader | |
|---|---|
HttpBrokenContent.Builder(HttpHeader httpHeader)
|
|
HttpBrokenContent(HttpHeader httpHeader)
|
|
HttpContent.Builder(HttpHeader httpHeader)
|
|
HttpContent(HttpHeader httpHeader)
|
|
HttpTrailer.Builder(HttpHeader httpHeader)
|
|
HttpTrailer(HttpHeader httpHeader)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||