Uses of Interface
io.undertow.attribute.ExchangeAttribute
-
-
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, 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 nameclassPathParameterAttributePath parameterclassPredicateContextAttributeclassQueryParameterAttributeQuery parameterclassQueryStringAttributeThe query stringclassQuotingExchangeAttributeExchange attribute that wraps string attributes in quotes.classRelativePathAttributeThe relative pathclassRemoteHostAttributeThe remote Host address (if resolved)classRemoteIPAttributeThe remote IP addressclassRemoteUserAttributeThe remote userclassRequestHeaderAttributeA request headerclassRequestLineAttributeThe request lineclassRequestMethodAttributeThe request methodclassRequestPathAttributeclassRequestProtocolAttributeThe request protocolclassRequestSchemeAttributeThe request schemeclassRequestURLAttributeThe request URLclassResolvedPathAttributeclassResponseCodeAttributeThe request status codeclassResponseHeaderAttributeA response headerclassResponseTimeAttributeThe response time This will only work ifUndertowOptions.RECORD_REQUEST_START_TIMEhas been setclassSecureExchangeAttributeclassSslCipherAttributeclassSslClientCertAttributeclassSslSessionIdAttributestatic classSubstituteEmptyWrapper.SubstituteEmptyAttributeclassThreadNameAttributeThe thread nameclassTransportProtocolAttributeThe request methodFields in io.undertow.attribute declared as ExchangeAttribute Modifier and Type Field Description static ExchangeAttributeAuthenticationTypeExchangeAttribute. INSTANCEstatic ExchangeAttributeDateTimeAttribute. INSTANCEstatic ExchangeAttributeHostAndPortAttribute. INSTANCEstatic ExchangeAttributeIdentUsernameAttribute. INSTANCEstatic ExchangeAttributeLocalIPAttribute. INSTANCEstatic ExchangeAttributeLocalPortAttribute. INSTANCEstatic ExchangeAttributeLocalServerNameAttribute. INSTANCEstatic ExchangeAttributeQueryStringAttribute. INSTANCEstatic ExchangeAttributeRelativePathAttribute. INSTANCEstatic ExchangeAttributeRemoteHostAttribute. INSTANCEstatic ExchangeAttributeRemoteIPAttribute. INSTANCEstatic ExchangeAttributeRemoteUserAttribute. INSTANCEstatic ExchangeAttributeRequestLineAttribute. INSTANCEstatic ExchangeAttributeRequestMethodAttribute. INSTANCEstatic ExchangeAttributeRequestPathAttribute. INSTANCEstatic ExchangeAttributeRequestProtocolAttribute. INSTANCEstatic ExchangeAttributeRequestSchemeAttribute. INSTANCEstatic ExchangeAttributeRequestURLAttribute. INSTANCEstatic ExchangeAttributeResolvedPathAttribute. INSTANCEstatic ExchangeAttributeResponseCodeAttribute. INSTANCEstatic ExchangeAttributeSecureExchangeAttribute. INSTANCEstatic ExchangeAttributeThreadNameAttribute. INSTANCEstatic ExchangeAttributeTransportProtocolAttribute. INSTANCEMethods in io.undertow.attribute that return ExchangeAttribute Modifier and Type Method Description static ExchangeAttributeExchangeAttributes. authenticationType()ExchangeAttributeAuthenticationTypeExchangeAttribute.Builder. build(String token)ExchangeAttributeBytesSentAttribute.Builder. build(String token)ExchangeAttributeCookieAttribute.Builder. build(String token)ExchangeAttributeDateTimeAttribute.Builder. build(String token)ExchangeAttributeExchangeAttributeBuilder. build(String token)Build the attribute from a text based representation.ExchangeAttributeHostAndPortAttribute.Builder. build(String token)ExchangeAttributeIdentUsernameAttribute.Builder. build(String token)ExchangeAttributeLocalIPAttribute.Builder. build(String token)ExchangeAttributeLocalPortAttribute.Builder. build(String token)ExchangeAttributeLocalServerNameAttribute.Builder. build(String token)ExchangeAttributePathParameterAttribute.Builder. build(String token)ExchangeAttributePredicateContextAttribute.Builder. build(String token)ExchangeAttributeQueryParameterAttribute.Builder. build(String token)ExchangeAttributeQueryStringAttribute.Builder. build(String token)ExchangeAttributeRelativePathAttribute.Builder. build(String token)ExchangeAttributeRemoteHostAttribute.Builder. build(String token)ExchangeAttributeRemoteIPAttribute.Builder. build(String token)ExchangeAttributeRemoteUserAttribute.Builder. build(String token)ExchangeAttributeRequestHeaderAttribute.Builder. build(String token)ExchangeAttributeRequestLineAttribute.Builder. build(String token)ExchangeAttributeRequestMethodAttribute.Builder. build(String token)ExchangeAttributeRequestPathAttribute.Builder. build(String token)ExchangeAttributeRequestProtocolAttribute.Builder. build(String token)ExchangeAttributeRequestSchemeAttribute.Builder. build(String token)ExchangeAttributeRequestURLAttribute.Builder. build(String token)ExchangeAttributeResolvedPathAttribute.Builder. build(String token)ExchangeAttributeResponseCodeAttribute.Builder. build(String token)ExchangeAttributeResponseHeaderAttribute.Builder. build(String token)ExchangeAttributeResponseTimeAttribute.Builder. build(String token)ExchangeAttributeSecureExchangeAttribute.Builder. build(String token)ExchangeAttributeSslCipherAttribute.Builder. build(String token)ExchangeAttributeSslClientCertAttribute.Builder. build(String token)ExchangeAttributeSslSessionIdAttribute.Builder. build(String token)ExchangeAttributeThreadNameAttribute.Builder. build(String token)ExchangeAttributeTransportProtocolAttribute.Builder. build(String token)static ExchangeAttributeExchangeAttributes. bytesSent(boolean dashIfZero)static ExchangeAttributeExchangeAttributes. constant(String value)static ExchangeAttributeExchangeAttributes. cookie(String cookieName)static ExchangeAttributeExchangeAttributes. dateTime()static ExchangeAttributeExchangeAttributes. localIp()static ExchangeAttributeExchangeAttributes. localPort()static ExchangeAttributeExchangeAttributes. localServerName()ExchangeAttributeExchangeAttributeParser. parse(String valueString)Parses the provided value string, and turns it into a list of exchange attributes.ExchangeAttributeExchangeAttributeParser. parseSingleToken(String token)static ExchangeAttributeExchangeAttributes. queryString()static ExchangeAttributeExchangeAttributes. relativePath()static ExchangeAttributeExchangeAttributes. remoteIp()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. 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 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, 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, 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 ExchangeAttribute Constructor Description PathTemplatePredicate(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 ExchangeAttribute Modifier and Type Method Description 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)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 ExchangeAttribute Modifier and Type Method Description protected 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)ExchangeAttributeExtendedAccessLogParser. parse(String pattern)Constructors in io.undertow.server.handlers.accesslog with parameters of type ExchangeAttribute Constructor Description AccessLogHandler(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 with parameters of type ExchangeAttribute Modifier and Type Method Description ProxyHandlerProxyHandler. addRequestHeader(HttpString header, ExchangeAttribute attribute)Adds a request header to the outgoing request. -
Uses of ExchangeAttribute in io.undertow.servlet.attribute
Classes in io.undertow.servlet.attribute that implement ExchangeAttribute Modifier and Type Class Description classServletContextAttributeAn attribute in the servlet requestclassServletNameAttributeThe current servlet nameclassServletRelativePathAttributeThe relative pathclassServletRequestAttributeAn attribute in the servlet requestclassServletRequestCharacterEncodingAttributeThe request session IDclassServletRequestedSessionIdAttributeThe request session IDclassServletRequestedSessionIdFromCookieAttributeThe request session IDclassServletRequestedSessionIdValidAttributeThe request session IDclassServletRequestLineAttributeThe request lineclassServletRequestLocaleAttributeThe request session IDclassServletRequestParameterAttributeAn attribute in the servlet requestclassServletRequestURLAttributeThe request URLclassServletSessionAttributeAn attribute in the servlet requestclassServletSessionIdAttributeThe request session IDFields in io.undertow.servlet.attribute declared as ExchangeAttribute Modifier and Type Field Description static ExchangeAttributeServletNameAttribute. INSTANCEstatic ExchangeAttributeServletRelativePathAttribute. INSTANCEstatic ExchangeAttributeServletRequestLineAttribute. INSTANCEstatic ExchangeAttributeServletRequestURLAttribute. INSTANCEMethods in io.undertow.servlet.attribute that return ExchangeAttribute Modifier and Type Method Description ExchangeAttributeServletContextAttribute.Builder. build(String token)ExchangeAttributeServletNameAttribute.Builder. build(String token)ExchangeAttributeServletRelativePathAttribute.Builder. build(String token)ExchangeAttributeServletRequestAttribute.Builder. build(String token)ExchangeAttributeServletRequestCharacterEncodingAttribute.Builder. build(String token)ExchangeAttributeServletRequestedSessionIdAttribute.Builder. build(String token)ExchangeAttributeServletRequestedSessionIdFromCookieAttribute.Builder. build(String token)ExchangeAttributeServletRequestedSessionIdValidAttribute.Builder. build(String token)ExchangeAttributeServletRequestLineAttribute.Builder. build(String token)ExchangeAttributeServletRequestLocaleAttribute.Builder. build(String token)ExchangeAttributeServletRequestParameterAttribute.Builder. build(String token)ExchangeAttributeServletRequestURLAttribute.Builder. build(String token)ExchangeAttributeServletSessionAttribute.Builder. build(String token)ExchangeAttributeServletSessionIdAttribute.Builder. build(String token) -
Uses of ExchangeAttribute in io.undertow.servlet.predicate
Constructors in io.undertow.servlet.predicate with parameters of type ExchangeAttribute Constructor Description DirectoryPredicate(ExchangeAttribute location)FilePredicate(ExchangeAttribute location)
-