Modifier and Type | Class and Description |
---|---|
class |
HttpBrokenContent
HttpContent message, which represents broken HTTP content. |
class |
HttpTrailer
HttpContent message, which represents HTTP trailer message. |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpContent.append(HttpContent element) |
HttpContent |
HttpContent.Builder.build()
Build the HttpContent message.
|
protected HttpContent |
HttpBrokenContent.Builder.create() |
protected HttpContent |
HttpTrailer.Builder.create() |
static HttpContent |
HttpContent.create() |
protected HttpContent |
HttpContent.Builder.create() |
static HttpContent |
HttpContent.create(HttpHeader httpHeader) |
static HttpContent |
HttpContent.create(HttpHeader httpHeader,
boolean isLast) |
static HttpContent |
HttpContent.create(HttpHeader httpHeader,
boolean isLast,
Buffer content) |
protected HttpContent |
HttpServerFilter.customizeErrorResponse(HttpResponsePacket response) |
HttpContent |
LZMAContentEncoding.encode(Connection connection,
HttpContent httpContent) |
HttpContent |
ContentEncoding.encode(Connection connection,
HttpContent httpContent)
Encode HTTP packet content represented by
HttpContent . |
HttpContent |
GZipContentEncoding.encode(Connection connection,
HttpContent httpContent) |
HttpContent |
ParsingResult.getHttpContent() |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HttpContent.append(HttpContent element) |
static ParsingResult |
ParsingResult.create(HttpContent httpContent,
Buffer remainderBuffer) |
ParsingResult |
LZMAContentEncoding.decode(Connection connection,
HttpContent httpContent) |
ParsingResult |
ContentEncoding.decode(Connection connection,
HttpContent httpContent)
Decode HTTP packet content represented by
HttpContent . |
ParsingResult |
GZipContentEncoding.decode(Connection connection,
HttpContent httpContent) |
HttpContent |
LZMAContentEncoding.encode(Connection connection,
HttpContent httpContent) |
HttpContent |
ContentEncoding.encode(Connection connection,
HttpContent httpContent)
Encode HTTP packet content represented by
HttpContent . |
HttpContent |
GZipContentEncoding.encode(Connection connection,
HttpContent httpContent) |
protected Buffer |
HttpCodecFilter.encodeHttpPacket(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent httpContent,
boolean isContentAlreadyEncoded) |
static boolean |
HttpContent.isBroken(HttpContent httpContent)
Returns true if passed
HttpContent is a BrokenHttpContent. |
static boolean |
HttpTrailer.isTrailer(HttpContent httpContent)
Returns true if passed
HttpContent is a HttpTrailder. |
void |
HttpProbe.onContentChunkParseEvent(Connection connection,
HttpContent content)
Method will be called, when HTTP message content chunk gets parsed
(either request or response).
|
void |
HttpProbe.Adapter.onContentChunkParseEvent(Connection connection,
HttpContent content)
Method will be called, when HTTP message content chunk gets parsed
(either request or response).
|
void |
HttpProbe.onContentChunkSerializeEvent(Connection connection,
HttpContent content)
Method will be called, when HTTP message content chunk is prepared to be
serialized (either request or response).
|
void |
HttpProbe.Adapter.onContentChunkSerializeEvent(Connection connection,
HttpContent content)
Method will be called, when HTTP message content chunk is prepared to be
serialized (either request or response).
|
protected void |
HttpClientFilter.onHttpContentEncoded(HttpContent content,
FilterChainContext ctx) |
protected void |
HttpServerFilter.onHttpContentEncoded(HttpContent content,
FilterChainContext ctx) |
protected abstract void |
HttpCodecFilter.onHttpContentEncoded(HttpContent content,
FilterChainContext ctx)
Invoked when a HTTP body chunk has been encoded in preparation to being
transmitted to the user-agent.
|
protected void |
HttpClientFilter.onHttpContentParsed(HttpContent content,
FilterChainContext ctx) |
protected void |
HttpServerFilter.onHttpContentParsed(HttpContent content,
FilterChainContext ctx) |
protected abstract void |
HttpCodecFilter.onHttpContentParsed(HttpContent content,
FilterChainContext ctx)
Invoked as request/response body content has been processed by this
Filter . |
void |
FixedLengthTransferEncoding.prepareSerialize(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent httpContent) |
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 |
ChunkedTransferEncoding.prepareSerialize(FilterChainContext ctx,
HttpHeader httpHeader,
HttpContent content)
This method will be called by
HttpCodecFilter to let
TransferEncoding prepare itself for the content serialization. |
Buffer |
FixedLengthTransferEncoding.serializePacket(FilterChainContext ctx,
HttpContent httpContent)
Serialize HTTP packet payload, represented by
HttpContent
using specific transfer encoding. |
Buffer |
TransferEncoding.serializePacket(FilterChainContext ctx,
HttpContent httpContent)
Serialize HTTP packet payload, represented by
HttpContent
using specific transfer encoding. |
Buffer |
ChunkedTransferEncoding.serializePacket(FilterChainContext ctx,
HttpContent httpContent)
Serialize HTTP packet payload, represented by
HttpContent
using specific transfer encoding. |
Modifier and Type | Method and Description |
---|---|
protected HttpContent |
InputBuffer.blockingRead()
Read next chunk of data in this thread, block if needed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InputBuffer.append(HttpContent httpContent)
|
Modifier and Type | Method and Description |
---|---|
protected HttpContent |
ServerInputBuffer.blockingRead() |
Modifier and Type | Method and Description |
---|---|
protected void |
SpdyHandlerFilter.onHttpContentEncoded(HttpContent content,
FilterChainContext ctx)
Invoked when a HTTP body chunk has been encoded in preparation to being
transmitted to the user-agent.
|
protected void |
SpdyHandlerFilter.onHttpContentParsed(HttpContent content,
FilterChainContext ctx)
Invoked as request/response body content has been processed by this
Filter . |
Modifier and Type | Method and Description |
---|---|
HttpContent |
HandShake.composeHeaders() |
Modifier and Type | Method and Description |
---|---|
abstract HandShake |
ProtocolHandler.createServerHandShake(HttpContent requestContent) |
protected boolean |
WebSocketFilter.doServerUpgrade(FilterChainContext ctx,
HttpContent requestContent) |
protected NextAction |
WebSocketClientFilter.handleHandshake(FilterChainContext ctx,
HttpContent content) |
protected abstract NextAction |
BaseWebSocketFilter.handleHandshake(FilterChainContext ctx,
HttpContent content)
Handle websocket handshake
|
protected NextAction |
WebSocketFilter.handleHandshake(FilterChainContext ctx,
HttpContent content) |
HandShake |
ProtocolHandler.handshake(FilterChainContext ctx,
WebSocketApplication app,
HttpContent request) |
boolean |
WebSocketEngine.upgrade(FilterChainContext ctx,
HttpContent requestContent) |
boolean |
WebSocketEngine.upgrade(FilterChainContext ctx,
HttpContent requestContent,
Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
HttpContent |
RFC6455HandShake.composeHeaders() |
Modifier and Type | Method and Description |
---|---|
HandShake |
RFC6455Handler.createServerHandShake(HttpContent requestContent) |
Copyright © 2015 Oracle Corporation. All rights reserved.