Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.AUTH_TYPE |
|
static AttachmentKey<java.lang.Boolean> |
ProxiedRequestAttachments.IS_SSL |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.REMOTE_ADDRESS |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.REMOTE_HOST |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.REMOTE_USER |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.ROUTE |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.SECRET |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.SERVER_NAME |
|
static AttachmentKey<java.lang.Integer> |
ProxiedRequestAttachments.SERVER_PORT |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.SSL_CERT |
|
static AttachmentKey<java.lang.String> |
ProxiedRequestAttachments.SSL_CYPHER |
|
static AttachmentKey<java.lang.Integer> |
ProxiedRequestAttachments.SSL_KEY_SIZE |
|
static AttachmentKey<byte[]> |
ProxiedRequestAttachments.SSL_SESSION_ID |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<byte[]> |
StoredResponseStreamSinkConduit.RESPONSE |
|
static AttachmentKey<HeaderMap> |
ChunkedStreamSinkConduit.TRAILERS |
Deprecated.
|
static AttachmentKey<HeaderMap> |
ChunkedStreamSourceConduit.TRAILERS |
Deprecated.
|
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<java.lang.Boolean> |
PredicatesHandler.DONE |
static done marker.
|
static AttachmentKey<java.util.Map<java.lang.String,java.lang.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<java.lang.Boolean> |
PredicatesHandler.RESTART |
Modifier and Type | Method | Description |
---|---|---|
<T> void |
Http2Channel.addToAttachmentList(AttachmentKey<AttachmentList<T>> key,
T value) |
|
<T> T |
Http2Channel.getAttachment(AttachmentKey<T> key) |
|
<T> java.util.List<T> |
Http2Channel.getAttachmentList(AttachmentKey<? extends java.util.List<T>> key) |
|
<T> T |
Http2Channel.putAttachment(AttachmentKey<T> key,
T value) |
|
<T> T |
Http2Channel.removeAttachment(AttachmentKey<T> key) |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<AuthenticatedSessionManager> |
AuthenticatedSessionManager.ATTACHMENT_KEY |
The attachment key that is used to attach the manager to the exchange
|
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<java.lang.String> |
ExternalAuthenticationMechanism.EXTERNAL_AUTHENTICATION_TYPE |
|
static AttachmentKey<java.lang.String> |
ExternalAuthenticationMechanism.EXTERNAL_PRINCIPAL |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<java.lang.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<java.util.Map<java.lang.String,java.lang.String>> |
HttpServerExchange.REQUEST_ATTRIBUTES |
Attachment key that can be used to hold additional request attributes
|
static AttachmentKey<java.lang.Boolean> |
HttpServerExchange.SECURE_REQUEST |
Attachment key that can be used as a flag of secure attribute
|
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<PathTemplateHandler.PathTemplateMatch> |
PathTemplateHandler.PATH_TEMPLATE_MATCH |
Deprecated.
|
static AttachmentKey<java.lang.Throwable> |
ExceptionHandler.THROWABLE |
Constructor | Description |
---|---|
AttachmentHandler(AttachmentKey<T> key,
HttpHandler next) |
|
AttachmentHandler(AttachmentKey<T> key,
HttpHandler next,
T instance) |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<ResponseCache> |
ResponseCache.ATTACHMENT_KEY |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<AllowedContentEncodings> |
AllowedContentEncodings.ATTACHMENT_KEY |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<FormData> |
FormDataParser.FORM_DATA |
When the form data is parsed it will be attached under this key.
|
Modifier and Type | Method | Description |
---|---|---|
<T> void |
ServerSentEventConnection.addToAttachmentList(AttachmentKey<AttachmentList<T>> key,
T value) |
|
<T> T |
ServerSentEventConnection.getAttachment(AttachmentKey<T> key) |
|
<T> java.util.List<T> |
ServerSentEventConnection.getAttachmentList(AttachmentKey<? extends java.util.List<T>> key) |
|
<T> T |
ServerSentEventConnection.putAttachment(AttachmentKey<T> key,
T value) |
|
<T> T |
ServerSentEventConnection.removeAttachment(AttachmentKey<T> key) |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<java.lang.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<HeaderMap> |
HttpAttachments.RESPONSE_TRAILERS |
Attachment key for response trailers.
|
Modifier and Type | Method | Description |
---|---|---|
<T> void |
Http2ServerConnection.addToAttachmentList(AttachmentKey<AttachmentList<T>> key,
T value) |
|
<T> T |
Http2ServerConnection.getAttachment(AttachmentKey<T> key) |
|
<T> java.util.List<T> |
Http2ServerConnection.getAttachmentList(AttachmentKey<? extends java.util.List<T>> key) |
|
<T> T |
Http2ServerConnection.putAttachment(AttachmentKey<T> key,
T value) |
|
<T> T |
Http2ServerConnection.removeAttachment(AttachmentKey<T> key) |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<SessionConfig> |
SessionConfig.ATTACHMENT_KEY |
|
static AttachmentKey<SessionManager> |
SessionManager.ATTACHMENT_KEY |
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<PathTemplateMatch> |
PathTemplateMatch.ATTACHMENT_KEY |
Modifier and Type | Method | Description |
---|---|---|
static <T> AttachmentKey<T> |
AttachmentKey.create(java.lang.Class<? super T> valueClass) |
Construct a new simple attachment key.
|
static <T> AttachmentKey<AttachmentList<T>> |
AttachmentKey.createList(java.lang.Class<? super T> valueClass) |
Construct a new list attachment key.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Map<AttachmentKey<?>,java.lang.Object> |
AbstractAttachable.createAttachmentMap() |
Modifier and Type | Method | Description |
---|---|---|
<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> java.util.List<T> |
AbstractAttachable.getAttachmentList(AttachmentKey<? extends java.util.List<T>> key) |
Gets a list attachment value.
|
<T> java.util.List<T> |
Attachable.getAttachmentList(AttachmentKey<? extends java.util.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.
|
Modifier and Type | Field | Description |
---|---|---|
static AttachmentKey<WebSocketVersion> |
WebSocketVersion.ATTACHMENT_KEY |
Modifier and Type | Method | Description |
---|---|---|
<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) |
Copyright © 2018. All rights reserved.