boolean |
EncodingFilter.applyDecoding(HttpHeader httpPacket) |
|
boolean |
EncodingFilter.applyEncoding(HttpHeader httpPacket) |
|
static HttpBrokenContent.Builder |
HttpBrokenContent.builder(HttpHeader httpHeader) |
|
static HttpContent.Builder |
HttpContent.builder(HttpHeader httpHeader) |
|
static HttpTrailer.Builder |
HttpTrailer.builder(HttpHeader httpHeader) |
|
static HttpBrokenContent |
HttpBrokenContent.create(HttpHeader httpHeader) |
|
static HttpContent |
HttpContent.create(HttpHeader httpHeader) |
|
static HttpContent |
HttpContent.create(HttpHeader httpHeader,
boolean isLast) |
|
static HttpContent |
HttpContent.create(HttpHeader httpHeader,
boolean isLast,
org.glassfish.grizzly.Buffer content) |
|
static HttpTrailer |
HttpTrailer.create(HttpHeader httpHeader) |
|
static HttpEvents.ChangePacketInProgressEvent |
HttpEvents.createChangePacketInProgressEvent(HttpHeader packet) |
|
static HttpEvents.IncomingHttpUpgradeEvent |
HttpEvents.createIncomingUpgradeEvent(HttpHeader httpHeader) |
|
static HttpEvents.OutgoingHttpUpgradeEvent |
HttpEvents.createOutgoingUpgradeEvent(HttpHeader httpHeader) |
|
protected org.glassfish.grizzly.Buffer |
HttpCodecFilter.encodeHttpPacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent httpContent,
boolean isContentAlreadyEncoded) |
|
protected static org.glassfish.grizzly.Buffer |
HttpCodecFilter.encodeKnownHeaders(org.glassfish.grizzly.memory.MemoryManager memoryManager,
org.glassfish.grizzly.Buffer buffer,
HttpHeader httpHeader) |
|
org.glassfish.grizzly.filterchain.NextAction |
HttpCodecFilter.handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpHeader) |
The method is called by the specific HttpCodecFilter implementation, once we have received a Buffer,
which has to be transformed into HTTP packet part.
|
T |
HttpContent.Builder.httpHeader(HttpHeader httpHeader) |
|
void |
HttpProbe.Adapter.onContentEncodingParseEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onContentEncodingParseEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onContentEncodingParseResultEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.Buffer result,
ContentEncoding contentEncoding) |
|
void |
HttpProbe.onContentEncodingParseResultEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.Buffer result,
ContentEncoding contentEncoding) |
|
void |
HttpProbe.Adapter.onContentEncodingSerializeEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onContentEncodingSerializeEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onContentEncodingSerializeResultEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.Buffer result,
ContentEncoding contentEncoding) |
Method will be called, when ContentEncoding will be applied during the serialization/encoding of the certain
HTTP message content chunk.
|
void |
HttpProbe.onContentEncodingSerializeResultEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.Buffer result,
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.onHeaderParseEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
int size) |
Method will be called, when HTTP message header gets parsed (either request or response).
|
void |
HttpProbe.onHeaderParseEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
int size) |
Method will be called, when HTTP message header gets parsed (either request or response).
|
void |
HttpProbe.Adapter.onHeaderSerializeEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.Buffer buffer) |
Method will be called, when HTTP message header gets serialized (either request or response).
|
void |
HttpProbe.onHeaderSerializeEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.Buffer buffer) |
Method will be called, when HTTP message header gets serialized (either request or response).
|
protected void |
HttpClientFilter.onHttpContentError(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable t) |
|
protected abstract void |
HttpCodecFilter.onHttpContentError(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable t) |
Callback which is invoked when parsing an HTTP message payload fails.
|
protected void |
HttpServerFilter.onHttpContentError(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable t) |
|
protected void |
HttpClientFilter.onHttpHeaderError(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable t) |
|
protected abstract void |
HttpCodecFilter.onHttpHeaderError(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable t) |
Callback which is invoked when parsing an HTTP message header fails.
|
protected void |
HttpServerFilter.onHttpHeaderError(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx,
Throwable t) |
|
protected boolean |
HttpClientFilter.onHttpHeaderParsed(HttpHeader httpHeader,
org.glassfish.grizzly.Buffer buffer,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected abstract boolean |
HttpCodecFilter.onHttpHeaderParsed(HttpHeader httpHeader,
org.glassfish.grizzly.Buffer buffer,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Callback invoked when the HTTP message header parsing is complete.
|
protected boolean |
HttpServerFilter.onHttpHeaderParsed(HttpHeader httpHeader,
org.glassfish.grizzly.Buffer buffer,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected void |
HttpClientFilter.onHttpHeadersEncoded(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected abstract void |
HttpCodecFilter.onHttpHeadersEncoded(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Invoked when HTTP headers have been encoded in preparation to being transmitted to the user-agent.
|
protected void |
HttpServerFilter.onHttpHeadersEncoded(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected void |
HttpClientFilter.onHttpHeadersParsed(HttpHeader httpHeader,
MimeHeaders headers,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected abstract void |
HttpCodecFilter.onHttpHeadersParsed(HttpHeader httpHeader,
MimeHeaders headers,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Invoked when HTTP headers portion comes for HttpHeader message.
|
protected void |
HttpServerFilter.onHttpHeadersParsed(HttpHeader httpHeader,
MimeHeaders headers,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected boolean |
HttpClientFilter.onHttpPacketParsed(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected abstract boolean |
HttpCodecFilter.onHttpPacketParsed(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Callback method, called when HttpPacket parsing has been completed.
|
protected boolean |
HttpServerFilter.onHttpPacketParsed(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected void |
HttpCodecFilter.onIncomingUpgrade(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpHeader) |
The method is called, when a peer sends an upgrade HTTP packet (either request or response).
|
protected void |
HttpClientFilter.onInitialLineEncoded(HttpHeader header,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected abstract void |
HttpCodecFilter.onInitialLineEncoded(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Invoked when the initial response line has been encoded in preparation to being transmitted to the user-agent.
|
protected void |
HttpServerFilter.onInitialLineEncoded(HttpHeader header,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected void |
HttpClientFilter.onInitialLineParsed(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected abstract void |
HttpCodecFilter.onInitialLineParsed(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
Invoked when either the request line or status line has been parsed.
|
protected void |
HttpServerFilter.onInitialLineParsed(HttpHeader httpHeader,
org.glassfish.grizzly.filterchain.FilterChainContext ctx) |
|
protected void |
HttpCodecFilter.onOutgoingUpgrade(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpHeader) |
|
void |
HttpProbe.Adapter.onTransferEncodingParseEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onTransferEncodingParseEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onTransferEncodingSerializeEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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.onTransferEncodingSerializeEvent(org.glassfish.grizzly.Connection connection,
HttpHeader header,
org.glassfish.grizzly.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 boolean |
HttpCodecFilter.parseHeaderFromBuffer(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
org.glassfish.grizzly.Buffer input) |
|
protected boolean |
HttpCodecFilter.parseHeaderFromBytes(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
byte[] input,
int end) |
|
protected boolean |
HttpCodecFilter.parseHeaderName(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
byte[] input,
int end) |
|
protected boolean |
HttpCodecFilter.parseHeaderName(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
org.glassfish.grizzly.Buffer input) |
|
protected boolean |
HttpCodecFilter.parseHeadersFromBuffer(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
org.glassfish.grizzly.Buffer input) |
|
protected boolean |
HttpCodecFilter.parseHeadersFromBytes(HttpHeader httpHeader,
MimeHeaders mimeHeaders,
HttpCodecFilter.HeaderParsingState parsingState,
byte[] input,
int end) |
|
protected static int |
HttpCodecFilter.parseHeaderValue(HttpHeader httpHeader,
HttpCodecFilter.HeaderParsingState parsingState,
byte[] input,
int end) |
|
protected static int |
HttpCodecFilter.parseHeaderValue(HttpHeader httpHeader,
HttpCodecFilter.HeaderParsingState parsingState,
org.glassfish.grizzly.Buffer input) |
|
ParsingResult |
ChunkedTransferEncoding.parsePacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpPacket,
org.glassfish.grizzly.Buffer buffer) |
Parse HTTP packet payload, represented by Buffer using specific transfer encoding.
|
ParsingResult |
FixedLengthTransferEncoding.parsePacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpPacket,
org.glassfish.grizzly.Buffer input) |
Parse HTTP packet payload, represented by Buffer using specific transfer encoding.
|
ParsingResult |
TransferEncoding.parsePacket(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpPacket,
org.glassfish.grizzly.Buffer buffer) |
Parse HTTP packet payload, represented by Buffer using specific transfer encoding.
|
void |
ChunkedTransferEncoding.prepareSerialize(org.glassfish.grizzly.filterchain.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(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent httpContent) |
|
void |
TransferEncoding.prepareSerialize(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent content) |
This method will be called by HttpCodecFilter to let TransferEncoding prepare itself for the content
serialization.
|
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 |
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 |
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 |
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 |
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) |
|
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.
|