## Uses of Class
io.undertow.util.AttachmentKey

Packages that use AttachmentKey
io.undertow.client
io.undertow.conduits
io.undertow.predicate
io.undertow.protocols.http2
io.undertow.security.api
io.undertow.security.impl
io.undertow.server
io.undertow.server.handlers
io.undertow.server.handlers.cache
io.undertow.server.handlers.encoding
io.undertow.server.handlers.form
io.undertow.server.handlers.sse
io.undertow.server.protocol.http
io.undertow.server.protocol.http2
io.undertow.server.session
io.undertow.util
io.undertow.websockets.core
io.undertow.websockets.spi

### Uses of AttachmentKey in io.undertow.client

Fields in io.undertow.client declared as AttachmentKey
`static AttachmentKey<String>` ProxiedRequestAttachments.`AUTH_TYPE`
`static AttachmentKey<Boolean>` ProxiedRequestAttachments.`IS_SSL`
`static AttachmentKey<String>` ProxiedRequestAttachments.`REMOTE_ADDRESS`
`static AttachmentKey<String>` ProxiedRequestAttachments.`REMOTE_HOST`
`static AttachmentKey<String>` ProxiedRequestAttachments.`REMOTE_USER`
`static AttachmentKey<String>` ProxiedRequestAttachments.`ROUTE`
`static AttachmentKey<String>` ProxiedRequestAttachments.`SECRET`
`static AttachmentKey<String>` ProxiedRequestAttachments.`SERVER_NAME`
`static AttachmentKey<Integer>` ProxiedRequestAttachments.`SERVER_PORT`
`static AttachmentKey<String>` ProxiedRequestAttachments.`SSL_CERT`
`static AttachmentKey<String>` ProxiedRequestAttachments.`SSL_CYPHER`
`static AttachmentKey<Integer>` ProxiedRequestAttachments.`SSL_KEY_SIZE`
`static AttachmentKey<byte[]>` ProxiedRequestAttachments.`SSL_SESSION_ID`

### Uses of AttachmentKey in io.undertow.conduits

Fields in io.undertow.conduits declared as AttachmentKey
`static AttachmentKey<byte[]>` StoredResponseStreamSinkConduit.`RESPONSE`
`static AttachmentKey<HeaderMap>` ChunkedStreamSinkConduit.`TRAILERS` Deprecated.
`static AttachmentKey<HeaderMap>` ChunkedStreamSourceConduit.`TRAILERS` Deprecated.

### Uses of AttachmentKey in io.undertow.predicate

Fields in io.undertow.predicate declared as AttachmentKey
`static AttachmentKey<Boolean>` PredicatesHandler.`DONE` static done marker.
`static AttachmentKey<Map<String,Object>>` Predicate.`PREDICATE_CONTEXT` Attachment key that can be used to store additional predicate context that allows the predicates to store additional information.
`static AttachmentKey<Boolean>` PredicatesHandler.`RESTART`

### Uses of AttachmentKey in io.undertow.protocols.http2

Methods in io.undertow.protocols.http2 with parameters of type AttachmentKey
`<T> void` Http2Channel.`addToAttachmentList(AttachmentKey<AttachmentList<T>> key, T value)`
`<T> T` Http2Channel.`getAttachment(AttachmentKey<T> key)`
`<T> List<T>` Http2Channel.`getAttachmentList(AttachmentKey<? extends List<T>> key)`
`<T> T` Http2Channel.`putAttachment(AttachmentKey<T> key, T value)`
`<T> T` Http2Channel.`removeAttachment(AttachmentKey<T> key)`

### Uses of AttachmentKey in io.undertow.security.api

Fields in io.undertow.security.api declared as AttachmentKey
`static AttachmentKey<AuthenticatedSessionManager>` AuthenticatedSessionManager.`ATTACHMENT_KEY` The attachment key that is used to attach the manager to the exchange

### Uses of AttachmentKey in io.undertow.security.impl

Fields in io.undertow.security.impl declared as AttachmentKey
`static AttachmentKey<String>` ExternalAuthenticationMechanism.`EXTERNAL_AUTHENTICATION_TYPE`
`static AttachmentKey<String>` ExternalAuthenticationMechanism.`EXTERNAL_PRINCIPAL`

### Uses of AttachmentKey in io.undertow.server

Fields in io.undertow.server declared as AttachmentKey
`static AttachmentKey<Throwable>` DefaultResponseListener.`EXCEPTION` If the default response listener was invoked as a result of an exception being thrown then the exception will be available under this attachment key.
`static AttachmentKey<String>` HttpServerExchange.`REMOTE_USER` Attachment key that can be used to hold a remotely authenticated user
`static AttachmentKey<Map<String,String>>` HttpServerExchange.`REQUEST_ATTRIBUTES` Attachment key that can be used to hold additional request attributes
`static AttachmentKey<Boolean>` HttpServerExchange.`SECURE_REQUEST` Attachment key that can be used as a flag of secure attribute

### Uses of AttachmentKey in io.undertow.server.handlers

Fields in io.undertow.server.handlers declared as AttachmentKey
`static AttachmentKey<PathTemplateHandler.PathTemplateMatch>` PathTemplateHandler.`PATH_TEMPLATE_MATCH` Deprecated.
`static AttachmentKey<Throwable>` ExceptionHandler.`THROWABLE`

Constructors in io.undertow.server.handlers with parameters of type AttachmentKey
Constructor and Description
`AttachmentHandler(AttachmentKey<T> key, HttpHandler next)`
`AttachmentHandler(AttachmentKey<T> key, HttpHandler next, T instance)`

### Uses of AttachmentKey in io.undertow.server.handlers.cache

Fields in io.undertow.server.handlers.cache declared as AttachmentKey
`static AttachmentKey<ResponseCache>` ResponseCache.`ATTACHMENT_KEY`

### Uses of AttachmentKey in io.undertow.server.handlers.encoding

Fields in io.undertow.server.handlers.encoding declared as AttachmentKey
`static AttachmentKey<AllowedContentEncodings>` AllowedContentEncodings.`ATTACHMENT_KEY`

### Uses of AttachmentKey in io.undertow.server.handlers.form

Fields in io.undertow.server.handlers.form declared as AttachmentKey
`static AttachmentKey<FormData>` FormDataParser.`FORM_DATA` When the form data is parsed it will be attached under this key.

### Uses of AttachmentKey in io.undertow.server.handlers.sse

Methods in io.undertow.server.handlers.sse with parameters of type AttachmentKey
`<T> void` ServerSentEventConnection.`addToAttachmentList(AttachmentKey<AttachmentList<T>> key, T value)`
`<T> T` ServerSentEventConnection.`getAttachment(AttachmentKey<T> key)`
`<T> List<T>` ServerSentEventConnection.`getAttachmentList(AttachmentKey<? extends List<T>> key)`
`<T> T` ServerSentEventConnection.`putAttachment(AttachmentKey<T> key, T value)`
`<T> T` ServerSentEventConnection.`removeAttachment(AttachmentKey<T> key)`

### Uses of AttachmentKey in io.undertow.server.protocol.http

Fields in io.undertow.server.protocol.http declared as AttachmentKey
`static AttachmentKey<Boolean>` HttpAttachments.`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>` HttpAttachments.`REQUEST_TRAILERS` Attachment key for request trailers when using chunked encoding.
`static AttachmentKey<Supplier<HeaderMap>>` HttpAttachments.`RESPONSE_TRAILER_SUPPLIER` Attachment key for a supplier response trailers.
`static AttachmentKey<HeaderMap>` HttpAttachments.`RESPONSE_TRAILERS` Attachment key for response trailers.

### Uses of AttachmentKey in io.undertow.server.protocol.http2

Methods in io.undertow.server.protocol.http2 with parameters of type AttachmentKey
`<T> void` Http2ServerConnection.`addToAttachmentList(AttachmentKey<AttachmentList<T>> key, T value)`
`<T> T` Http2ServerConnection.`getAttachment(AttachmentKey<T> key)`
`<T> List<T>` Http2ServerConnection.`getAttachmentList(AttachmentKey<? extends List<T>> key)`
`<T> T` Http2ServerConnection.`putAttachment(AttachmentKey<T> key, T value)`
`<T> T` Http2ServerConnection.`removeAttachment(AttachmentKey<T> key)`

### Uses of AttachmentKey in io.undertow.server.session

Fields in io.undertow.server.session declared as AttachmentKey
`static AttachmentKey<SessionManager>` SessionManager.`ATTACHMENT_KEY`
`static AttachmentKey<SessionConfig>` SessionConfig.`ATTACHMENT_KEY`

### Uses of AttachmentKey in io.undertow.util

Fields in io.undertow.util declared as AttachmentKey
`static AttachmentKey<PathTemplateMatch>` PathTemplateMatch.`ATTACHMENT_KEY`

Methods in io.undertow.util that return AttachmentKey
`static <T> AttachmentKey<T>` AttachmentKey.`create(Class<? super T> valueClass)` Construct a new simple attachment key.
`static <T> AttachmentKey<AttachmentList<T>>` AttachmentKey.`createList(Class<? super T> valueClass)` Construct a new list attachment key.

Methods in io.undertow.util that return types with arguments of type AttachmentKey
`protected Map<AttachmentKey<?>,Object>` AbstractAttachable.`createAttachmentMap()`

Methods in io.undertow.util with parameters of type AttachmentKey
`<T> void` AbstractAttachable.`addToAttachmentList(AttachmentKey<AttachmentList<T>> key, T value)` Add a value to a list-typed attachment key.
`<T> void` Attachable.`addToAttachmentList(AttachmentKey<AttachmentList<T>> key, T value)` Add a value to a list-typed attachment key.
`<T> T` AbstractAttachable.`getAttachment(AttachmentKey<T> key)` Get an attachment value.
`<T> T` Attachable.`getAttachment(AttachmentKey<T> key)` Get an attachment value.
`<T> List<T>` AbstractAttachable.`getAttachmentList(AttachmentKey<? extends List<T>> key)` Gets a list attachment value.
`<T> List<T>` Attachable.`getAttachmentList(AttachmentKey<? extends List<T>> key)` Gets a list attachment value.
`<T> T` AbstractAttachable.`putAttachment(AttachmentKey<T> key, T value)` Set an attachment value.
`<T> T` Attachable.`putAttachment(AttachmentKey<T> key, T value)` Set an attachment value.
`<T> T` AbstractAttachable.`removeAttachment(AttachmentKey<T> key)` Remove an attachment, returning its previous value.
`<T> T` Attachable.`removeAttachment(AttachmentKey<T> key)` Remove an attachment, returning its previous value.

### Uses of AttachmentKey in io.undertow.websockets.core

Fields in io.undertow.websockets.core declared as AttachmentKey
`static AttachmentKey<WebSocketVersion>` WebSocketVersion.`ATTACHMENT_KEY`

### Uses of AttachmentKey in io.undertow.websockets.spi

Methods in io.undertow.websockets.spi with parameters of type AttachmentKey
`<T> T` AsyncWebSocketHttpServerExchange.`getAttachment(AttachmentKey<T> key)`
`<T> T` WebSocketHttpExchange.`getAttachment(AttachmentKey<T> key)`
`<T> void` AsyncWebSocketHttpServerExchange.`putAttachment(AttachmentKey<T> key, T value)`
`<T> void` WebSocketHttpExchange.`putAttachment(AttachmentKey<T> key, T value)`