Uses of Interface
io.undertow.attribute.ExchangeAttribute
Packages that use ExchangeAttribute
Package
Description
-
Uses of ExchangeAttribute in io.undertow
Methods in io.undertow with parameters of type ExchangeAttributeModifier and TypeMethodDescriptionstatic final AccessControlListHandler
Handlers.acl
(HttpHandler next, boolean defaultAllow, ExchangeAttribute attribute) Returns a new handler that can allow or deny access to a resource based an at attribute of the exchangestatic SetHeaderHandler
Handlers.header
(HttpHandler next, String headerName, ExchangeAttribute headerValue) Returns a handler that sets a response header -
Uses of ExchangeAttribute in io.undertow.attribute
Classes in io.undertow.attribute that implement ExchangeAttributeModifier and TypeClassDescriptionclass
class
The bytes sentclass
Exchange attribute that represents a combination of attributes that should be merged into a single string.class
Exchange attribute that represents a fixed valueclass
A cookieclass
The current timeclass
The request schemeclass
The ident username, not used, included for apache access log compatibilityclass
The local IP addressclass
The local portclass
The local server nameclass
A cookieclass
Path parameterclass
class
Query parameterclass
The query stringclass
Exchange attribute that wraps string attributes in quotes.class
The relative pathclass
The remote Host address (if resolved)class
The remote IP addressclass
The remote IP addressclass
The remote userclass
A request cookieclass
A request headerclass
The request lineclass
The request methodclass
class
The request protocolclass
The request schemeclass
The request URLclass
class
The request status codeclass
A response cookieclass
A response headerclass
The request status codeclass
The response time This will only work ifUndertowOptions.RECORD_REQUEST_START_TIME
has been setclass
class
class
class
class
static class
class
The thread nameclass
The request methodFields in io.undertow.attribute declared as ExchangeAttributeModifier and TypeFieldDescriptionstatic final ExchangeAttribute
QueryStringAttribute.BARE_INSTANCE
static final ExchangeAttribute
AuthenticationTypeExchangeAttribute.INSTANCE
static final ExchangeAttribute
DateTimeAttribute.INSTANCE
static final ExchangeAttribute
HostAndPortAttribute.INSTANCE
static final ExchangeAttribute
IdentUsernameAttribute.INSTANCE
static final ExchangeAttribute
LocalIPAttribute.INSTANCE
static final ExchangeAttribute
LocalPortAttribute.INSTANCE
static final ExchangeAttribute
LocalServerNameAttribute.INSTANCE
static final ExchangeAttribute
QueryStringAttribute.INSTANCE
static final ExchangeAttribute
RelativePathAttribute.INSTANCE
static final ExchangeAttribute
RemoteHostAttribute.INSTANCE
static final ExchangeAttribute
RemoteIPAttribute.INSTANCE
static final ExchangeAttribute
RemoteObfuscatedIPAttribute.INSTANCE
static final ExchangeAttribute
RemoteUserAttribute.INSTANCE
static final ExchangeAttribute
RequestLineAttribute.INSTANCE
static final ExchangeAttribute
RequestMethodAttribute.INSTANCE
static final ExchangeAttribute
RequestPathAttribute.INSTANCE
static final ExchangeAttribute
RequestProtocolAttribute.INSTANCE
static final ExchangeAttribute
RequestSchemeAttribute.INSTANCE
static final ExchangeAttribute
RequestURLAttribute.INSTANCE
static final ExchangeAttribute
ResolvedPathAttribute.INSTANCE
static final ExchangeAttribute
ResponseCodeAttribute.INSTANCE
static final ExchangeAttribute
ResponseReasonPhraseAttribute.INSTANCE
static final ExchangeAttribute
SecureExchangeAttribute.INSTANCE
static final ExchangeAttribute
StoredResponse.INSTANCE
static final ExchangeAttribute
ThreadNameAttribute.INSTANCE
static final ExchangeAttribute
TransportProtocolAttribute.INSTANCE
Methods in io.undertow.attribute that return ExchangeAttributeModifier and TypeMethodDescriptionstatic ExchangeAttribute
ExchangeAttributes.authenticationType()
Build the attribute from a text based representation.static ExchangeAttribute
ExchangeAttributes.bytesSent
(boolean dashIfZero) static ExchangeAttribute
static ExchangeAttribute
static ExchangeAttribute
ExchangeAttributes.dateTime()
static ExchangeAttribute
ExchangeAttributes.localIp()
static ExchangeAttribute
ExchangeAttributes.localPort()
static ExchangeAttribute
ExchangeAttributes.localServerName()
Parses the provided value string, and turns it into a list of exchange attributes.ExchangeAttributeParser.parseSingleToken
(String token) static ExchangeAttribute
ExchangeAttributes.queryString()
static ExchangeAttribute
ExchangeAttributes.relativePath()
static ExchangeAttribute
ExchangeAttributes.remoteIp()
static ExchangeAttribute
ExchangeAttributes.remoteObfuscatedIp()
static ExchangeAttribute
ExchangeAttributes.remoteUser()
static ExchangeAttribute
ExchangeAttributes.requestHeader
(HttpString header) static ExchangeAttribute
ExchangeAttributes.requestList()
static ExchangeAttribute
ExchangeAttributes.requestMethod()
static ExchangeAttribute
ExchangeAttributes.requestProtocol()
static ExchangeAttribute
ExchangeAttributes.requestURL()
static ExchangeAttribute
ExchangeAttributes.responseCode()
static ExchangeAttribute
ExchangeAttributes.responseHeader
(HttpString header) static ExchangeAttribute
ExchangeAttributes.responseReasonPhrase()
static ExchangeAttribute
ExchangeAttributes.threadName()
static ExchangeAttribute
ExchangeAttributes.transportProtocol()
ExchangeAttributeWrapper.wrap
(ExchangeAttribute attribute) QuotingExchangeAttribute.Wrapper.wrap
(ExchangeAttribute attribute) SubstituteEmptyWrapper.wrap
(ExchangeAttribute attribute) Methods in io.undertow.attribute with parameters of type ExchangeAttributeModifier and TypeMethodDescriptionstatic String
ExchangeAttributes.resolve
(HttpServerExchange exchange, ExchangeAttribute[] attributes) ExchangeAttributeWrapper.wrap
(ExchangeAttribute attribute) QuotingExchangeAttribute.Wrapper.wrap
(ExchangeAttribute attribute) SubstituteEmptyWrapper.wrap
(ExchangeAttribute attribute) Constructors in io.undertow.attribute with parameters of type ExchangeAttributeModifierConstructorDescriptionCompositeExchangeAttribute
(ExchangeAttribute[] attributes) QuotingExchangeAttribute
(ExchangeAttribute exchangeAttribute) SubstituteEmptyAttribute
(ExchangeAttribute attribute, String substitute) -
Uses of ExchangeAttribute in io.undertow.predicate
Methods in io.undertow.predicate that return ExchangeAttributeMethods in io.undertow.predicate with parameters of type ExchangeAttributeModifier and TypeMethodDescriptionstatic Predicate
Predicates.contains
(ExchangeAttribute attribute, String... values) Returns true if the given attribute is present and contains one of the provided value.static Predicate
Predicates.equals
(ExchangeAttribute[] attributes) Creates a procedure that returns true if the given ExchangeAttributes are equal.static Predicate
Predicates.exists
(ExchangeAttribute attribute) Return a predicate that will return true if the given attribute is not null and not empty.static Predicate
Predicates.regex
(ExchangeAttribute attribute, String pattern) Creates a predicate that matches the given attribute against a regex.static Predicate
Predicates.regex
(ExchangeAttribute attribute, String pattern, boolean requireFullMatch) Creates a predicate that matches the given attribute against a regex.Constructors in io.undertow.predicate with parameters of type ExchangeAttributeModifierConstructorDescriptionPathTemplatePredicate
(String template, ExchangeAttribute attribute) RegularExpressionPredicate
(String regex, ExchangeAttribute matchAttribute) RegularExpressionPredicate
(String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch) RegularExpressionPredicate
(String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch, boolean caseSensitive) -
Uses of ExchangeAttribute in io.undertow.server.handlers
Methods in io.undertow.server.handlers that return ExchangeAttributeConstructors in io.undertow.server.handlers with parameters of type ExchangeAttributeModifierConstructorDescriptionAccessControlListHandler
(ExchangeAttribute attribute) AccessControlListHandler
(HttpHandler next, ExchangeAttribute attribute) RedirectHandler
(ExchangeAttribute attribute) SetAttributeHandler
(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value) SetAttributeHandler
(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value, boolean preCommit) SetHeaderHandler
(HttpHandler next, String header, ExchangeAttribute value) -
Uses of ExchangeAttribute in io.undertow.server.handlers.accesslog
Methods in io.undertow.server.handlers.accesslog that return ExchangeAttributeModifier and TypeMethodDescriptionprotected ExchangeAttribute
ExtendedAccessLogParser.getClientToServerElement
(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) protected ExchangeAttribute
ExtendedAccessLogParser.getLogElement
(String token, io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) protected ExchangeAttribute
ExtendedAccessLogParser.getProxyElement
(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) protected ExchangeAttribute
ExtendedAccessLogParser.getServerToClientElement
(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) protected ExchangeAttribute
ExtendedAccessLogParser.getServletRequestElement
(String parameter) protected ExchangeAttribute
ExtendedAccessLogParser.getXParameterElement
(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) Constructors in io.undertow.server.handlers.accesslog with parameters of type ExchangeAttributeModifierConstructorDescriptionAccessLogHandler
(HttpHandler next, AccessLogReceiver accessLogReceiver, String formatString, ExchangeAttribute attribute) AccessLogHandler
(HttpHandler next, AccessLogReceiver accessLogReceiver, String formatString, ExchangeAttribute attribute, Predicate predicate) -
Uses of ExchangeAttribute in io.undertow.server.handlers.proxy
Methods in io.undertow.server.handlers.proxy that return types with arguments of type ExchangeAttributeMethods in io.undertow.server.handlers.proxy with parameters of type ExchangeAttributeModifier and TypeMethodDescriptionProxyHandler.addRequestHeader
(HttpString header, ExchangeAttribute attribute) Deprecated.ProxyHandler.Builder.addRequestHeader
(HttpString header, ExchangeAttribute value)