Package | Description |
---|---|
io.undertow | |
io.undertow.attribute | |
io.undertow.predicate | |
io.undertow.server.handlers | |
io.undertow.server.handlers.accesslog | |
io.undertow.server.handlers.proxy |
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 exchange
|
static SetHeaderHandler |
Handlers.header(HttpHandler next,
String headerName,
ExchangeAttribute headerValue) |
Returns a handler that sets a response header
|
Modifier and Type | Class | 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 |
RemoteUserAttribute |
The remote user
|
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 |
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 | 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 |
Modifier and Type | Method | Description |
---|---|---|
static ExchangeAttribute |
ExchangeAttributes.authenticationType() |
|
ExchangeAttribute |
AuthenticationTypeExchangeAttribute.Builder.build(String token) |
|
ExchangeAttribute |
BytesSentAttribute.Builder.build(String token) |
|
ExchangeAttribute |
CookieAttribute.Builder.build(String token) |
|
ExchangeAttribute |
DateTimeAttribute.Builder.build(String token) |
|
ExchangeAttribute |
ExchangeAttributeBuilder.build(String token) |
Build the attribute from a text based representation.
|
ExchangeAttribute |
HostAndPortAttribute.Builder.build(String token) |
|
ExchangeAttribute |
IdentUsernameAttribute.Builder.build(String token) |
|
ExchangeAttribute |
LocalIPAttribute.Builder.build(String token) |
|
ExchangeAttribute |
LocalPortAttribute.Builder.build(String token) |
|
ExchangeAttribute |
LocalServerNameAttribute.Builder.build(String token) |
|
ExchangeAttribute |
NullAttribute.Builder.build(String token) |
|
ExchangeAttribute |
PathParameterAttribute.Builder.build(String token) |
|
ExchangeAttribute |
PredicateContextAttribute.Builder.build(String token) |
|
ExchangeAttribute |
QueryParameterAttribute.Builder.build(String token) |
|
ExchangeAttribute |
QueryStringAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RelativePathAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RemoteHostAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RemoteIPAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RemoteUserAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestHeaderAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestLineAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestMethodAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestPathAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestProtocolAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestSchemeAttribute.Builder.build(String token) |
|
ExchangeAttribute |
RequestURLAttribute.Builder.build(String token) |
|
ExchangeAttribute |
ResolvedPathAttribute.Builder.build(String token) |
|
ExchangeAttribute |
ResponseCodeAttribute.Builder.build(String token) |
|
ExchangeAttribute |
ResponseHeaderAttribute.Builder.build(String token) |
|
ExchangeAttribute |
ResponseReasonPhraseAttribute.Builder.build(String token) |
|
ExchangeAttribute |
ResponseTimeAttribute.Builder.build(String token) |
|
ExchangeAttribute |
SecureExchangeAttribute.Builder.build(String token) |
|
ExchangeAttribute |
SslCipherAttribute.Builder.build(String token) |
|
ExchangeAttribute |
SslClientCertAttribute.Builder.build(String token) |
|
ExchangeAttribute |
SslSessionIdAttribute.Builder.build(String token) |
|
ExchangeAttribute |
StoredResponse.Builder.build(String token) |
|
ExchangeAttribute |
ThreadNameAttribute.Builder.build(String token) |
|
ExchangeAttribute |
TransportProtocolAttribute.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.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) |
Modifier and Type | Method | Description |
---|---|---|
static String |
ExchangeAttributes.resolve(HttpServerExchange exchange,
ExchangeAttribute[] attributes) |
|
ExchangeAttribute |
ExchangeAttributeWrapper.wrap(ExchangeAttribute attribute) |
|
ExchangeAttribute |
QuotingExchangeAttribute.Wrapper.wrap(ExchangeAttribute attribute) |
|
ExchangeAttribute |
SubstituteEmptyWrapper.wrap(ExchangeAttribute attribute) |
Constructor | Description |
---|---|
CompositeExchangeAttribute(ExchangeAttribute[] attributes) |
|
QuotingExchangeAttribute(ExchangeAttribute exchangeAttribute) |
|
SubstituteEmptyAttribute(ExchangeAttribute attribute,
String substitute) |
Modifier and Type | Method | Description |
---|---|---|
ExchangeAttribute |
ContainsPredicate.getAttribute() |
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
ExchangeAttribute |
SetHeaderHandler.getValue() |
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) |
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
Map<HttpString,ExchangeAttribute> |
ProxyHandler.Builder.getRequestHeaders() |
Modifier and Type | Method | Description |
---|---|---|
ProxyHandler |
ProxyHandler.addRequestHeader(HttpString header,
ExchangeAttribute attribute) |
Deprecated.
|
ProxyHandler.Builder |
ProxyHandler.Builder.addRequestHeader(HttpString header,
ExchangeAttribute value) |
Copyright © 2018. All rights reserved.