Modifier and Type | Method and 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 exchange |
static SetHeaderHandler | Handlers.header(HttpHandler next, String headerName, ExchangeAttribute headerValue) Returns a handler that sets a response header |
Modifier and Type | Class and Description |
---|---|
class | AuthenticationTypeExchangeAttribute |
class | BytesSentAttribute The bytes sent |
class | 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 value |
class | CookieAttribute A cookie |
class | DateTimeAttribute The current time |
class | HostAndPortAttribute The request scheme |
class | IdentUsernameAttribute The ident username, not used, included for apache access log compatibility |
class | LocalIPAttribute The local IP address |
class | LocalPortAttribute The local port |
class | LocalServerNameAttribute The local server name |
class | NullAttribute A cookie |
class | PathParameterAttribute Path parameter |
class | PredicateContextAttribute |
class | QueryParameterAttribute Query parameter |
class | QueryStringAttribute The query string |
class | QuotingExchangeAttribute Exchange attribute that wraps string attributes in quotes. |
class | RelativePathAttribute The relative path |
class | RemoteHostAttribute The remote Host address (if resolved) |
class | RemoteIPAttribute The remote IP address |
class | RemoteObfuscatedIPAttribute The remote IP address |
class | RemoteUserAttribute The remote user |
class | RequestCookieAttribute A request cookie |
class | RequestHeaderAttribute A request header |
class | RequestLineAttribute The request line |
class | RequestMethodAttribute The request method |
class | RequestPathAttribute |
class | RequestProtocolAttribute The request protocol |
class | RequestSchemeAttribute The request scheme |
class | RequestURLAttribute The request URL |
class | ResolvedPathAttribute |
class | ResponseCodeAttribute The request status code |
class | ResponseCookieAttribute A response cookie |
class | ResponseHeaderAttribute A response header |
class | ResponseReasonPhraseAttribute The request status code |
class | ResponseTimeAttribute The response time This will only work if UndertowOptions.RECORD_REQUEST_START_TIME has been set |
class | SecureExchangeAttribute |
class | SslCipherAttribute |
class | SslClientCertAttribute |
class | SslSessionIdAttribute |
class | StoredResponse |
static class | SubstituteEmptyWrapper.SubstituteEmptyAttribute |
class | ThreadNameAttribute The thread name |
class | TransportProtocolAttribute The request method |
Modifier and Type | Field and Description |
---|---|
static ExchangeAttribute | QueryStringAttribute.BARE_INSTANCE |
static ExchangeAttribute | LocalServerNameAttribute.INSTANCE |
static ExchangeAttribute | RemoteIPAttribute.INSTANCE |
static ExchangeAttribute | SecureExchangeAttribute.INSTANCE |
static ExchangeAttribute | TransportProtocolAttribute.INSTANCE |
static ExchangeAttribute | RequestSchemeAttribute.INSTANCE |
static ExchangeAttribute | LocalIPAttribute.INSTANCE |
static ExchangeAttribute | IdentUsernameAttribute.INSTANCE |
static ExchangeAttribute | RemoteHostAttribute.INSTANCE |
static ExchangeAttribute | RequestProtocolAttribute.INSTANCE |
static ExchangeAttribute | ResolvedPathAttribute.INSTANCE |
static ExchangeAttribute | StoredResponse.INSTANCE |
static ExchangeAttribute | QueryStringAttribute.INSTANCE |
static ExchangeAttribute | LocalPortAttribute.INSTANCE |
static ExchangeAttribute | AuthenticationTypeExchangeAttribute.INSTANCE |
static ExchangeAttribute | RequestPathAttribute.INSTANCE |
static ExchangeAttribute | ResponseCodeAttribute.INSTANCE |
static ExchangeAttribute | RequestLineAttribute.INSTANCE |
static ExchangeAttribute | RemoteUserAttribute.INSTANCE |
static ExchangeAttribute | RemoteObfuscatedIPAttribute.INSTANCE |
static ExchangeAttribute | DateTimeAttribute.INSTANCE |
static ExchangeAttribute | RequestMethodAttribute.INSTANCE |
static ExchangeAttribute | HostAndPortAttribute.INSTANCE |
static ExchangeAttribute | ResponseReasonPhraseAttribute.INSTANCE |
static ExchangeAttribute | ThreadNameAttribute.INSTANCE |
static ExchangeAttribute | RequestURLAttribute.INSTANCE |
static ExchangeAttribute | RelativePathAttribute.INSTANCE |
Modifier and Type | Method and Description |
---|---|
static ExchangeAttribute | ExchangeAttributes.authenticationType() |
ExchangeAttribute | LocalServerNameAttribute.Builder.build(String token) |
ExchangeAttribute | ResponseHeaderAttribute.Builder.build(String token) |
ExchangeAttribute | RemoteIPAttribute.Builder.build(String token) |
ExchangeAttribute | SslSessionIdAttribute.Builder.build(String token) |
ExchangeAttribute | RequestCookieAttribute.Builder.build(String token) |
ExchangeAttribute | NullAttribute.Builder.build(String token) |
ExchangeAttribute | SecureExchangeAttribute.Builder.build(String token) |
ExchangeAttribute | TransportProtocolAttribute.Builder.build(String token) |
ExchangeAttribute | ExchangeAttributeBuilder.build(String token) Build the attribute from a text based representation. |
ExchangeAttribute | RequestSchemeAttribute.Builder.build(String token) |
ExchangeAttribute | LocalIPAttribute.Builder.build(String token) |
ExchangeAttribute | IdentUsernameAttribute.Builder.build(String token) |
ExchangeAttribute | BytesSentAttribute.Builder.build(String token) |
ExchangeAttribute | RemoteHostAttribute.Builder.build(String token) |
ExchangeAttribute | RequestProtocolAttribute.Builder.build(String token) |
ExchangeAttribute | ResolvedPathAttribute.Builder.build(String token) |
ExchangeAttribute | StoredResponse.Builder.build(String token) |
ExchangeAttribute | QueryStringAttribute.Builder.build(String token) |
ExchangeAttribute | LocalPortAttribute.Builder.build(String token) |
ExchangeAttribute | CookieAttribute.Builder.build(String token) |
ExchangeAttribute | AuthenticationTypeExchangeAttribute.Builder.build(String token) |
ExchangeAttribute | QueryParameterAttribute.Builder.build(String token) |
ExchangeAttribute | ResponseTimeAttribute.Builder.build(String token) |
ExchangeAttribute | RequestPathAttribute.Builder.build(String token) |
ExchangeAttribute | ResponseCodeAttribute.Builder.build(String token) |
ExchangeAttribute | RequestLineAttribute.Builder.build(String token) |
ExchangeAttribute | RemoteUserAttribute.Builder.build(String token) |
ExchangeAttribute | RemoteObfuscatedIPAttribute.Builder.build(String token) |
ExchangeAttribute | RequestHeaderAttribute.Builder.build(String token) |
ExchangeAttribute | SslCipherAttribute.Builder.build(String token) |
ExchangeAttribute | DateTimeAttribute.Builder.build(String token) |
ExchangeAttribute | PathParameterAttribute.Builder.build(String token) |
ExchangeAttribute | RequestMethodAttribute.Builder.build(String token) |
ExchangeAttribute | HostAndPortAttribute.Builder.build(String token) |
ExchangeAttribute | ResponseReasonPhraseAttribute.Builder.build(String token) |
ExchangeAttribute | ThreadNameAttribute.Builder.build(String token) |
ExchangeAttribute | PredicateContextAttribute.Builder.build(String token) |
ExchangeAttribute | RequestURLAttribute.Builder.build(String token) |
ExchangeAttribute | SslClientCertAttribute.Builder.build(String token) |
ExchangeAttribute | RelativePathAttribute.Builder.build(String token) |
ExchangeAttribute | ResponseCookieAttribute.Builder.build(String token) |
static ExchangeAttribute | ExchangeAttributes.bytesSent(boolean dashIfZero) |
static ExchangeAttribute | ExchangeAttributes.constant(String value) |
static ExchangeAttribute | ExchangeAttributes.cookie(String cookieName) |
static ExchangeAttribute | ExchangeAttributes.dateTime() |
static ExchangeAttribute | ExchangeAttributes.localIp() |
static ExchangeAttribute | ExchangeAttributes.localPort() |
static ExchangeAttribute | ExchangeAttributes.localServerName() |
ExchangeAttribute | ExchangeAttributeParser.parse(String valueString) Parses the provided value string, and turns it into a list of exchange attributes. |
ExchangeAttribute | 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() |
ExchangeAttribute | QuotingExchangeAttribute.Wrapper.wrap(ExchangeAttribute attribute) |
ExchangeAttribute | SubstituteEmptyWrapper.wrap(ExchangeAttribute attribute) |
ExchangeAttribute | ExchangeAttributeWrapper.wrap(ExchangeAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
static String | ExchangeAttributes.resolve(HttpServerExchange exchange, ExchangeAttribute[] attributes) |
ExchangeAttribute | QuotingExchangeAttribute.Wrapper.wrap(ExchangeAttribute attribute) |
ExchangeAttribute | SubstituteEmptyWrapper.wrap(ExchangeAttribute attribute) |
ExchangeAttribute | ExchangeAttributeWrapper.wrap(ExchangeAttribute attribute) |
Constructor and Description |
---|
CompositeExchangeAttribute(ExchangeAttribute[] attributes) |
QuotingExchangeAttribute(ExchangeAttribute exchangeAttribute) |
SubstituteEmptyAttribute(ExchangeAttribute attribute, String substitute) |
Modifier and Type | Method and Description |
---|---|
ExchangeAttribute | ContainsPredicate.getAttribute() |
Modifier and Type | Method and Description |
---|---|
static 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. |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
ExchangeAttribute | SetHeaderHandler.getValue() |
Constructor and 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, String header, ExchangeAttribute value) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
ExchangeAttribute | ExtendedAccessLogParser.parse(String pattern) |
Constructor and Description |
---|
AccessLogHandler(HttpHandler next, AccessLogReceiver accessLogReceiver, String formatString, ExchangeAttribute attribute) |
AccessLogHandler(HttpHandler next, AccessLogReceiver accessLogReceiver, String formatString, ExchangeAttribute attribute, Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Map<HttpString,ExchangeAttribute> | ProxyHandler.Builder.getRequestHeaders() |
Modifier and Type | Method and Description |
---|---|
ProxyHandler | ProxyHandler.addRequestHeader(HttpString header, ExchangeAttribute attribute) Deprecated. |
ProxyHandler.Builder | ProxyHandler.Builder.addRequestHeader(HttpString header, ExchangeAttribute value) |
Modifier and Type | Class and Description |
---|---|
class | ServletContextAttribute An attribute in the servlet request |
class | ServletNameAttribute The current servlet name |
class | ServletRelativePathAttribute The relative path |
class | ServletRequestAttribute An attribute in the servlet request |
class | ServletRequestCharacterEncodingAttribute The request session ID |
class | ServletRequestedSessionIdAttribute The request session ID |
class | ServletRequestedSessionIdFromCookieAttribute The request session ID |
class | ServletRequestedSessionIdValidAttribute The request session ID |
class | ServletRequestLineAttribute The request line |
class | ServletRequestLocaleAttribute The request session ID |
class | ServletRequestParameterAttribute An attribute in the servlet request |
class | ServletRequestURLAttribute The request URL |
class | ServletSessionAttribute An attribute in the servlet request |
class | ServletSessionIdAttribute The request session ID |
Modifier and Type | Field and Description |
---|---|
static ExchangeAttribute | ServletRequestURLAttribute.INSTANCE |
static ExchangeAttribute | ServletRequestLineAttribute.INSTANCE |
static ExchangeAttribute | ServletNameAttribute.INSTANCE |
static ExchangeAttribute | ServletRelativePathAttribute.INSTANCE |
Modifier and Type | Method and Description |
---|---|
ExchangeAttribute | ServletRequestAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestURLAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestLineAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestCharacterEncodingAttribute.Builder.build(String token) |
ExchangeAttribute | ServletNameAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestedSessionIdValidAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestedSessionIdAttribute.Builder.build(String token) |
ExchangeAttribute | ServletSessionAttribute.Builder.build(String token) |
ExchangeAttribute | ServletSessionIdAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestLocaleAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestedSessionIdFromCookieAttribute.Builder.build(String token) |
ExchangeAttribute | ServletContextAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRelativePathAttribute.Builder.build(String token) |
ExchangeAttribute | ServletRequestParameterAttribute.Builder.build(String token) |
Constructor and Description |
---|
DirectoryPredicate(ExchangeAttribute location) |
FilePredicate(ExchangeAttribute location) |
FilePredicate(ExchangeAttribute location, boolean requireContent) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.