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 AccessControlListHandlerHandlers. 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 SetHeaderHandlerHandlers. 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 classAuthenticationTypeExchangeAttributeclassBytesSentAttributeThe bytes sentclassCompositeExchangeAttributeExchange attribute that represents a combination of attributes that should be merged into a single string.classConstantExchangeAttributeExchange attribute that represents a fixed valueclassCookieAttributeA cookieclassDateTimeAttributeThe current timeclassHostAndPortAttributeThe request schemeclassIdentUsernameAttributeThe ident username, not used, included for apache access log compatibilityclassLocalIPAttributeThe local IP addressclassLocalPortAttributeThe local portclassLocalServerNameAttributeThe local server nameclassNullAttributeA cookieclassPathParameterAttributePath parameterclassPredicateContextAttributeclassQueryParameterAttributeQuery parameterclassQueryStringAttributeThe query stringclassQuotingExchangeAttributeExchange attribute that wraps string attributes in quotes.classRelativePathAttributeThe relative pathclassRemoteHostAttributeThe remote Host address (if resolved)classRemoteIPAttributeThe remote IP addressclassRemoteObfuscatedIPAttributeThe remote IP addressclassRemoteUserAttributeThe remote userclassRequestCookieAttributeA request cookieclassRequestHeaderAttributeA request headerclassRequestLineAttributeThe request lineclassRequestMethodAttributeThe request methodclassRequestPathAttributeclassRequestProtocolAttributeThe request protocolclassRequestSchemeAttributeThe request schemeclassRequestURLAttributeThe request URLclassResolvedPathAttributeclassResponseCodeAttributeThe request status codeclassResponseCookieAttributeA response cookieclassResponseHeaderAttributeA response headerclassResponseReasonPhraseAttributeThe request status codeclassResponseTimeAttributeThe response time This will only work ifUndertowOptions.RECORD_REQUEST_START_TIMEhas been setclassSecureExchangeAttributeclassSslCipherAttributeclassSslClientCertAttributeclassSslSessionIdAttributeclassStoredResponsestatic classSubstituteEmptyWrapper.SubstituteEmptyAttributeclassThreadNameAttributeThe thread nameclassTransportProtocolAttributeDeprecated.Please useRequestProtocolAttributeFields in io.undertow.attribute declared as ExchangeAttribute Modifier and Type Field Description static ExchangeAttributeQueryStringAttribute. BARE_INSTANCEstatic ExchangeAttributeAuthenticationTypeExchangeAttribute. INSTANCEstatic ExchangeAttributeDateTimeAttribute. INSTANCEstatic ExchangeAttributeHostAndPortAttribute. INSTANCEstatic ExchangeAttributeIdentUsernameAttribute. INSTANCEstatic ExchangeAttributeLocalIPAttribute. INSTANCEstatic ExchangeAttributeLocalPortAttribute. INSTANCEstatic ExchangeAttributeLocalServerNameAttribute. INSTANCEstatic ExchangeAttributeQueryStringAttribute. INSTANCEstatic ExchangeAttributeRelativePathAttribute. INSTANCEstatic ExchangeAttributeRemoteHostAttribute. INSTANCEstatic ExchangeAttributeRemoteIPAttribute. INSTANCEstatic ExchangeAttributeRemoteObfuscatedIPAttribute. INSTANCEstatic ExchangeAttributeRemoteUserAttribute. INSTANCEstatic ExchangeAttributeRequestLineAttribute. INSTANCEstatic ExchangeAttributeRequestMethodAttribute. INSTANCEstatic ExchangeAttributeRequestPathAttribute. INSTANCEstatic ExchangeAttributeRequestProtocolAttribute. INSTANCEstatic ExchangeAttributeRequestSchemeAttribute. INSTANCEstatic ExchangeAttributeRequestURLAttribute. INSTANCEstatic ExchangeAttributeResolvedPathAttribute. INSTANCEstatic ExchangeAttributeResponseCodeAttribute. INSTANCEstatic ExchangeAttributeResponseReasonPhraseAttribute. INSTANCEstatic ExchangeAttributeSecureExchangeAttribute. INSTANCEstatic ExchangeAttributeStoredResponse. INSTANCEstatic ExchangeAttributeThreadNameAttribute. INSTANCEstatic ExchangeAttributeTransportProtocolAttribute. INSTANCEDeprecated.Methods in io.undertow.attribute that return ExchangeAttribute Modifier and Type Method Description static ExchangeAttributeExchangeAttributes. authenticationType()ExchangeAttributeAuthenticationTypeExchangeAttribute.Builder. build(java.lang.String token)ExchangeAttributeBytesSentAttribute.Builder. build(java.lang.String token)ExchangeAttributeCookieAttribute.Builder. build(java.lang.String token)ExchangeAttributeDateTimeAttribute.Builder. build(java.lang.String token)ExchangeAttributeExchangeAttributeBuilder. build(java.lang.String token)Build the attribute from a text based representation.ExchangeAttributeHostAndPortAttribute.Builder. build(java.lang.String token)ExchangeAttributeIdentUsernameAttribute.Builder. build(java.lang.String token)ExchangeAttributeLocalIPAttribute.Builder. build(java.lang.String token)ExchangeAttributeLocalPortAttribute.Builder. build(java.lang.String token)ExchangeAttributeLocalServerNameAttribute.Builder. build(java.lang.String token)ExchangeAttributeNullAttribute.Builder. build(java.lang.String token)ExchangeAttributePathParameterAttribute.Builder. build(java.lang.String token)ExchangeAttributePredicateContextAttribute.Builder. build(java.lang.String token)ExchangeAttributeQueryParameterAttribute.Builder. build(java.lang.String token)ExchangeAttributeQueryStringAttribute.Builder. build(java.lang.String token)ExchangeAttributeRelativePathAttribute.Builder. build(java.lang.String token)ExchangeAttributeRemoteHostAttribute.Builder. build(java.lang.String token)ExchangeAttributeRemoteIPAttribute.Builder. build(java.lang.String token)ExchangeAttributeRemoteObfuscatedIPAttribute.Builder. build(java.lang.String token)ExchangeAttributeRemoteUserAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestCookieAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestHeaderAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestLineAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestMethodAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestPathAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestProtocolAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestSchemeAttribute.Builder. build(java.lang.String token)ExchangeAttributeRequestURLAttribute.Builder. build(java.lang.String token)ExchangeAttributeResolvedPathAttribute.Builder. build(java.lang.String token)ExchangeAttributeResponseCodeAttribute.Builder. build(java.lang.String token)ExchangeAttributeResponseCookieAttribute.Builder. build(java.lang.String token)ExchangeAttributeResponseHeaderAttribute.Builder. build(java.lang.String token)ExchangeAttributeResponseReasonPhraseAttribute.Builder. build(java.lang.String token)ExchangeAttributeResponseTimeAttribute.Builder. build(java.lang.String token)ExchangeAttributeSecureExchangeAttribute.Builder. build(java.lang.String token)ExchangeAttributeSslCipherAttribute.Builder. build(java.lang.String token)ExchangeAttributeSslClientCertAttribute.Builder. build(java.lang.String token)ExchangeAttributeSslSessionIdAttribute.Builder. build(java.lang.String token)ExchangeAttributeStoredResponse.Builder. build(java.lang.String token)ExchangeAttributeThreadNameAttribute.Builder. build(java.lang.String token)ExchangeAttributeTransportProtocolAttribute.Builder. build(java.lang.String token)static ExchangeAttributeExchangeAttributes. bytesSent(boolean dashIfZero)static ExchangeAttributeExchangeAttributes. constant(java.lang.String value)static ExchangeAttributeExchangeAttributes. cookie(java.lang.String cookieName)static ExchangeAttributeExchangeAttributes. dateTime()static ExchangeAttributeExchangeAttributes. localIp()static ExchangeAttributeExchangeAttributes. localPort()static ExchangeAttributeExchangeAttributes. localServerName()ExchangeAttributeExchangeAttributeParser. parse(java.lang.String valueString)Parses the provided value string, and turns it into a list of exchange attributes.ExchangeAttributeExchangeAttributeParser. parseSingleToken(java.lang.String token)static ExchangeAttributeExchangeAttributes. queryString()static ExchangeAttributeExchangeAttributes. relativePath()static ExchangeAttributeExchangeAttributes. remoteIp()static ExchangeAttributeExchangeAttributes. remoteObfuscatedIp()static ExchangeAttributeExchangeAttributes. remoteUser()static ExchangeAttributeExchangeAttributes. requestHeader(HttpString header)static ExchangeAttributeExchangeAttributes. requestList()static ExchangeAttributeExchangeAttributes. requestMethod()static ExchangeAttributeExchangeAttributes. requestProtocol()static ExchangeAttributeExchangeAttributes. requestURL()static ExchangeAttributeExchangeAttributes. responseCode()static ExchangeAttributeExchangeAttributes. responseHeader(HttpString header)static ExchangeAttributeExchangeAttributes. responseReasonPhrase()static ExchangeAttributeExchangeAttributes. threadName()static ExchangeAttributeExchangeAttributes. transportProtocol()ExchangeAttributeExchangeAttributeWrapper. wrap(ExchangeAttribute attribute)ExchangeAttributeQuotingExchangeAttribute.Wrapper. wrap(ExchangeAttribute attribute)ExchangeAttributeSubstituteEmptyWrapper. wrap(ExchangeAttribute attribute)Methods in io.undertow.attribute with parameters of type ExchangeAttribute Modifier and Type Method Description static java.lang.StringExchangeAttributes. resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes)ExchangeAttributeExchangeAttributeWrapper. wrap(ExchangeAttribute attribute)ExchangeAttributeQuotingExchangeAttribute.Wrapper. wrap(ExchangeAttribute attribute)ExchangeAttributeSubstituteEmptyWrapper. 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 ExchangeAttributeContainsPredicate. getAttribute()Methods in io.undertow.predicate with parameters of type ExchangeAttribute Modifier and Type Method Description static PredicatePredicates. contains(ExchangeAttribute attribute, java.lang.String... values)Returns true if the given attribute is present and contains one of the provided value.static PredicatePredicates. equals(ExchangeAttribute[] attributes)Creates a procedure that returns true if the given ExchangeAttributes are equal.static PredicatePredicates. exists(ExchangeAttribute attribute)Return a predicate that will return true if the given attribute is not null and not empty.static PredicatePredicates. regex(ExchangeAttribute attribute, java.lang.String pattern)Creates a predicate that matches the given attribute against a regex.static PredicatePredicates. 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 ExchangeAttributeSetAttributeHandler. getValue()ExchangeAttributeSetHeaderHandler. 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)SetAttributeHandler(HttpHandler next, ExchangeAttribute attribute, ExchangeAttribute value, boolean preCommit)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 ExchangeAttributeExtendedAccessLogParser. getClientToServerElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)protected ExchangeAttributeExtendedAccessLogParser. getLogElement(java.lang.String token, io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)protected ExchangeAttributeExtendedAccessLogParser. getProxyElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)protected ExchangeAttributeExtendedAccessLogParser. getServerToClientElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)protected ExchangeAttributeExtendedAccessLogParser. getServletRequestElement(java.lang.String parameter)protected ExchangeAttributeExtendedAccessLogParser. getXParameterElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)ExchangeAttributeExtendedAccessLogParser. 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 ProxyHandlerProxyHandler. addRequestHeader(HttpString header, ExchangeAttribute attribute)Deprecated.ProxyHandler.BuilderProxyHandler.Builder. addRequestHeader(HttpString header, ExchangeAttribute value)
-