public class HttpAttachments extends Object
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<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 and Description |
---|
HttpAttachments() |
public static final AttachmentKey<HeaderMap> REQUEST_TRAILERS
public static final AttachmentKey<HeaderMap> RESPONSE_TRAILERS
public static final AttachmentKey<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 © 2017 JBoss by Red Hat. All rights reserved.