public class HttpAttachments
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<java.lang.Boolean> |
PRE_CHUNKED_RESPONSE |
If the value
true is attached to the exchange under this key then Undertow will assume that the underlying application
has already taken care of chunking, and will not attempt to add its own chunk markers. |
static AttachmentKey<HeaderMap> |
REQUEST_TRAILERS |
Attachment key for request trailers when using chunked encoding.
|
static AttachmentKey<HeaderMap> |
RESPONSE_TRAILERS |
Attachment key for response trailers.
|
Constructor | Description |
---|---|
HttpAttachments() |
public static final AttachmentKey<HeaderMap> REQUEST_TRAILERS
public static final AttachmentKey<HeaderMap> RESPONSE_TRAILERS
public static final AttachmentKey<java.lang.Boolean> PRE_CHUNKED_RESPONSE
true
is attached to the exchange under this key then Undertow will assume that the underlying application
has already taken care of chunking, and will not attempt to add its own chunk markers.
This will only take effect if the application has explicitly set the Transfer-Encoding: chunked header.Copyright © 2018. All rights reserved.