Uses of Interface
io.undertow.attribute.ExchangeAttribute
-
Packages that use ExchangeAttribute Package Description io.undertow io.undertow.attribute io.undertow.predicate io.undertow.server.handlers io.undertow.server.handlers.accesslog io.undertow.server.handlers.proxy -
-
Uses of ExchangeAttribute in io.undertow
Methods in io.undertow with parameters of type ExchangeAttribute Modifier and Type Method Description static 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, java.lang.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 ExchangeAttribute Modifier and Type Class Description class
AuthenticationTypeExchangeAttribute
class
BytesSentAttribute
The bytes sentclass
CompositeExchangeAttribute
Exchange attribute that represents a combination of attributes that should be merged into a single string.class
ConstantExchangeAttribute
Exchange attribute that represents a fixed valueclass
CookieAttribute
A cookieclass
DateTimeAttribute
The current timeclass
HostAndPortAttribute
The request schemeclass
IdentUsernameAttribute
The ident username, not used, included for apache access log compatibilityclass
LocalIPAttribute
The local IP addressclass
LocalPortAttribute
The local portclass
LocalServerNameAttribute
The local server nameclass
NullAttribute
A cookieclass
PathParameterAttribute
Path parameterclass
PredicateContextAttribute
class
QueryParameterAttribute
Query parameterclass
QueryStringAttribute
The query stringclass
QuotingExchangeAttribute
Exchange attribute that wraps string attributes in quotes.class
RelativePathAttribute
The relative pathclass
RemoteHostAttribute
The remote Host address (if resolved)class
RemoteIPAttribute
The remote IP addressclass
RemoteUserAttribute
The remote userclass
RequestHeaderAttribute
A request headerclass
RequestLineAttribute
The request lineclass
RequestMethodAttribute
The request methodclass
RequestPathAttribute
class
RequestProtocolAttribute
The request protocolclass
RequestSchemeAttribute
The request schemeclass
RequestURLAttribute
The request URLclass
ResolvedPathAttribute
class
ResponseCodeAttribute
The request status codeclass
ResponseHeaderAttribute
A response headerclass
ResponseReasonPhraseAttribute
The request status codeclass
ResponseTimeAttribute
The response time This will only work ifUndertowOptions.RECORD_REQUEST_START_TIME
has been setclass
SecureExchangeAttribute
class
SslCipherAttribute
class
SslClientCertAttribute
class
SslSessionIdAttribute
class
StoredResponse
static class
SubstituteEmptyWrapper.SubstituteEmptyAttribute
class
ThreadNameAttribute
The thread nameclass
TransportProtocolAttribute
The request methodFields in io.undertow.attribute declared as ExchangeAttribute Modifier and Type Field Description static ExchangeAttribute
QueryStringAttribute. BARE_INSTANCE
static ExchangeAttribute
AuthenticationTypeExchangeAttribute. INSTANCE
static ExchangeAttribute
DateTimeAttribute. INSTANCE
static ExchangeAttribute
HostAndPortAttribute. INSTANCE
static ExchangeAttribute
IdentUsernameAttribute. INSTANCE
static ExchangeAttribute
LocalIPAttribute. INSTANCE
static ExchangeAttribute
LocalPortAttribute. INSTANCE
static ExchangeAttribute
LocalServerNameAttribute. INSTANCE
static ExchangeAttribute
QueryStringAttribute. INSTANCE
static ExchangeAttribute
RelativePathAttribute. INSTANCE
static ExchangeAttribute
RemoteHostAttribute. INSTANCE
static ExchangeAttribute
RemoteIPAttribute. INSTANCE
static ExchangeAttribute
RemoteUserAttribute. INSTANCE
static ExchangeAttribute
RequestLineAttribute. INSTANCE
static ExchangeAttribute
RequestMethodAttribute. INSTANCE
static ExchangeAttribute
RequestPathAttribute. INSTANCE
static ExchangeAttribute
RequestProtocolAttribute. INSTANCE
static ExchangeAttribute
RequestSchemeAttribute. INSTANCE
static ExchangeAttribute
RequestURLAttribute. INSTANCE
static ExchangeAttribute
ResolvedPathAttribute. INSTANCE
static ExchangeAttribute
ResponseCodeAttribute. INSTANCE
static ExchangeAttribute
ResponseReasonPhraseAttribute. INSTANCE
static ExchangeAttribute
SecureExchangeAttribute. INSTANCE
static ExchangeAttribute
StoredResponse. INSTANCE
static ExchangeAttribute
ThreadNameAttribute. INSTANCE
static ExchangeAttribute
TransportProtocolAttribute. INSTANCE
Methods in io.undertow.attribute that return ExchangeAttribute Modifier and Type Method Description static ExchangeAttribute
ExchangeAttributes. authenticationType()
ExchangeAttribute
AuthenticationTypeExchangeAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
BytesSentAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
CookieAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
DateTimeAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
ExchangeAttributeBuilder. build(java.lang.String token)
Build the attribute from a text based representation.ExchangeAttribute
HostAndPortAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
IdentUsernameAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
LocalIPAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
LocalPortAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
LocalServerNameAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
NullAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
PathParameterAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
PredicateContextAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
QueryParameterAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
QueryStringAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RelativePathAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RemoteHostAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RemoteIPAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RemoteUserAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestHeaderAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestLineAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestMethodAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestPathAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestProtocolAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestSchemeAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
RequestURLAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
ResolvedPathAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
ResponseCodeAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
ResponseHeaderAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
ResponseReasonPhraseAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
ResponseTimeAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
SecureExchangeAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
SslCipherAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
SslClientCertAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
SslSessionIdAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
StoredResponse.Builder. build(java.lang.String token)
ExchangeAttribute
ThreadNameAttribute.Builder. build(java.lang.String token)
ExchangeAttribute
TransportProtocolAttribute.Builder. build(java.lang.String token)
static ExchangeAttribute
ExchangeAttributes. bytesSent(boolean dashIfZero)
static ExchangeAttribute
ExchangeAttributes. constant(java.lang.String value)
static ExchangeAttribute
ExchangeAttributes. cookie(java.lang.String cookieName)
static ExchangeAttribute
ExchangeAttributes. dateTime()
static ExchangeAttribute
ExchangeAttributes. localIp()
static ExchangeAttribute
ExchangeAttributes. localPort()
static ExchangeAttribute
ExchangeAttributes. localServerName()
ExchangeAttribute
ExchangeAttributeParser. parse(java.lang.String valueString)
Parses the provided value string, and turns it into a list of exchange attributes.ExchangeAttribute
ExchangeAttributeParser. parseSingleToken(java.lang.String token)
static ExchangeAttribute
ExchangeAttributes. queryString()
static ExchangeAttribute
ExchangeAttributes. relativePath()
static ExchangeAttribute
ExchangeAttributes. remoteIp()
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()
ExchangeAttribute
ExchangeAttributeWrapper. wrap(ExchangeAttribute attribute)
ExchangeAttribute
QuotingExchangeAttribute.Wrapper. wrap(ExchangeAttribute attribute)
ExchangeAttribute
SubstituteEmptyWrapper. wrap(ExchangeAttribute attribute)
Methods in io.undertow.attribute with parameters of type ExchangeAttribute Modifier and Type Method Description static java.lang.String
ExchangeAttributes. resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes)
ExchangeAttribute
ExchangeAttributeWrapper. wrap(ExchangeAttribute attribute)
ExchangeAttribute
QuotingExchangeAttribute.Wrapper. wrap(ExchangeAttribute attribute)
ExchangeAttribute
SubstituteEmptyWrapper. wrap(ExchangeAttribute attribute)
Constructors in io.undertow.attribute with parameters of type ExchangeAttribute Constructor Description CompositeExchangeAttribute(ExchangeAttribute[] attributes)
QuotingExchangeAttribute(ExchangeAttribute exchangeAttribute)
SubstituteEmptyAttribute(ExchangeAttribute attribute, java.lang.String substitute)
-
Uses of ExchangeAttribute in io.undertow.predicate
Methods in io.undertow.predicate that return ExchangeAttribute Modifier and Type Method Description ExchangeAttribute
ContainsPredicate. getAttribute()
Methods in io.undertow.predicate with parameters of type ExchangeAttribute Modifier and Type Method Description static Predicate
Predicates. contains(ExchangeAttribute attribute, java.lang.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, java.lang.String pattern)
Creates a predicate that matches the given attribute against a regex.static Predicate
Predicates. regex(ExchangeAttribute attribute, java.lang.String pattern, boolean requireFullMatch)
Creates a predicate that matches the given attribute against a regex.Constructors in io.undertow.predicate with parameters of type ExchangeAttribute Constructor Description PathTemplatePredicate(java.lang.String template, ExchangeAttribute attribute)
RegularExpressionPredicate(java.lang.String regex, ExchangeAttribute matchAttribute)
RegularExpressionPredicate(java.lang.String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch)
RegularExpressionPredicate(java.lang.String regex, ExchangeAttribute matchAttribute, boolean requireFullMatch, boolean caseSensitive)
-
Uses of ExchangeAttribute in io.undertow.server.handlers
Methods in io.undertow.server.handlers that return ExchangeAttribute Modifier and Type Method Description ExchangeAttribute
SetHeaderHandler. getValue()
Constructors in io.undertow.server.handlers with parameters of type ExchangeAttribute Constructor Description AccessControlListHandler(ExchangeAttribute attribute)
AccessControlListHandler(HttpHandler next, ExchangeAttribute attribute)
RedirectHandler(ExchangeAttribute attribute)
SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value)
SetHeaderHandler(HttpHandler next, java.lang.String header, ExchangeAttribute value)
-
Uses of ExchangeAttribute in io.undertow.server.handlers.accesslog
Methods in io.undertow.server.handlers.accesslog that return ExchangeAttribute Modifier and Type Method Description protected ExchangeAttribute
ExtendedAccessLogParser. getClientToServerElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
protected ExchangeAttribute
ExtendedAccessLogParser. getLogElement(java.lang.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(java.lang.String parameter)
protected ExchangeAttribute
ExtendedAccessLogParser. getXParameterElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
ExchangeAttribute
ExtendedAccessLogParser. parse(java.lang.String pattern)
Constructors in io.undertow.server.handlers.accesslog with parameters of type ExchangeAttribute Constructor Description AccessLogHandler(HttpHandler next, AccessLogReceiver accessLogReceiver, java.lang.String formatString, ExchangeAttribute attribute)
AccessLogHandler(HttpHandler next, AccessLogReceiver accessLogReceiver, java.lang.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 ExchangeAttribute Modifier and Type Method Description java.util.Map<HttpString,ExchangeAttribute>
ProxyHandler.Builder. getRequestHeaders()
Methods in io.undertow.server.handlers.proxy with parameters of type ExchangeAttribute Modifier and Type Method Description ProxyHandler
ProxyHandler. addRequestHeader(HttpString header, ExchangeAttribute attribute)
Deprecated.ProxyHandler.Builder
ProxyHandler.Builder. addRequestHeader(HttpString header, ExchangeAttribute value)
-