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 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, 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 TypeClassDescriptionclassclassThe bytes sentclassExchange attribute that represents a combination of attributes that should be merged into a single string.classExchange attribute that represents a fixed valueclassA cookieclassThe current timeclassThe request schemeclassThe ident username, not used, included for apache access log compatibilityclassThe local IP addressclassThe local portclassThe local server nameclassA cookieclassPath parameterclassclassQuery parameterclassThe query stringclassExchange attribute that wraps string attributes in quotes.classThe relative pathclassThe remote Host address (if resolved)classThe remote IP addressclassThe remote userclassA request headerclassThe request lineclassThe request methodclassclassThe request getProtocolclassThe request schemeclassThe request URLclassclassThe request status codeclassA response headerclassThe response time This will only work ifUndertowOptions.RECORD_REQUEST_START_TIMEhas been setclassclassclassclassstatic classclassThe thread nameclassThe request methodFields in io.undertow.attribute declared as ExchangeAttributeModifier and TypeFieldDescriptionstatic final ExchangeAttributeQueryStringAttribute.BARE_INSTANCEstatic final ExchangeAttributeAuthenticationTypeExchangeAttribute.INSTANCEstatic final ExchangeAttributeDateTimeAttribute.INSTANCEstatic final ExchangeAttributeHostAndPortAttribute.INSTANCEstatic final ExchangeAttributeIdentUsernameAttribute.INSTANCEstatic final ExchangeAttributeLocalIPAttribute.INSTANCEstatic final ExchangeAttributeLocalPortAttribute.INSTANCEstatic final ExchangeAttributeLocalServerNameAttribute.INSTANCEstatic final ExchangeAttributeQueryStringAttribute.INSTANCEstatic final ExchangeAttributeRelativePathAttribute.INSTANCEstatic final ExchangeAttributeRemoteHostAttribute.INSTANCEstatic final ExchangeAttributeRemoteIPAttribute.INSTANCEstatic final ExchangeAttributeRemoteUserAttribute.INSTANCEstatic final ExchangeAttributeRequestLineAttribute.INSTANCEstatic final ExchangeAttributeRequestMethodAttribute.INSTANCEstatic final ExchangeAttributeRequestPathAttribute.INSTANCEstatic final ExchangeAttributeRequestProtocolAttribute.INSTANCEstatic final ExchangeAttributeRequestSchemeAttribute.INSTANCEstatic final ExchangeAttributeRequestURLAttribute.INSTANCEstatic final ExchangeAttributeResolvedPathAttribute.INSTANCEstatic final ExchangeAttributeResponseCodeAttribute.INSTANCEstatic final ExchangeAttributeSecureExchangeAttribute.INSTANCEstatic final ExchangeAttributeThreadNameAttribute.INSTANCEstatic final ExchangeAttributeTransportProtocolAttribute.INSTANCEMethods in io.undertow.attribute that return ExchangeAttributeModifier and TypeMethodDescriptionstatic ExchangeAttributeExchangeAttributes.authenticationType()Build the attribute from a text based representation.static ExchangeAttributeExchangeAttributes.bytesSent(boolean dashIfZero) static ExchangeAttributestatic ExchangeAttributestatic ExchangeAttributeExchangeAttributes.dateTime()static ExchangeAttributeExchangeAttributes.localIp()static ExchangeAttributeExchangeAttributes.localPort()static ExchangeAttributeExchangeAttributes.localServerName()Parses the provided value string, and turns it into a list of exchange attributes.ExchangeAttributeParser.parseSingleToken(String token) static ExchangeAttributeExchangeAttributes.queryString()static ExchangeAttributeExchangeAttributes.relativePath()static ExchangeAttributeExchangeAttributes.remoteIp()static ExchangeAttributeExchangeAttributes.remoteUser()static ExchangeAttributeExchangeAttributes.requestHeader(HttpString header) static ExchangeAttributeExchangeAttributes.requestHeader(String header) static ExchangeAttributeExchangeAttributes.requestList()static ExchangeAttributeExchangeAttributes.requestMethod()static ExchangeAttributeExchangeAttributes.requestProtocol()static ExchangeAttributeExchangeAttributes.requestURL()static ExchangeAttributeExchangeAttributes.responseCode()static ExchangeAttributeExchangeAttributes.responseHeader(HttpString header) static ExchangeAttributeExchangeAttributes.threadName()static ExchangeAttributeExchangeAttributes.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 StringExchangeAttributes.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 PredicatePredicates.contains(ExchangeAttribute attribute, 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, String pattern) Creates a predicate that matches the given attribute against a regex.static PredicatePredicates.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 ExchangeAttributeExtendedAccessLogParser.getClientToServerElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) protected ExchangeAttributeExtendedAccessLogParser.getLogElement(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(String parameter) protected ExchangeAttributeExtendedAccessLogParser.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)