Top Description Methods
io.undertow.attribute

public Interface ExchangeAttributeBuilder

Known Direct Implementers
io.undertow.attribute.HostAndPortAttribute.Builder, io.undertow.attribute.IdentUsernameAttribute.Builder, io.undertow.attribute.LocalIPAttribute.Builder, io.undertow.attribute.LocalPortAttribute.Builder, io.undertow.attribute.LocalServerNameAttribute.Builder, io.undertow.attribute.NullAttribute.Builder, io.undertow.attribute.PathParameterAttribute.Builder, io.undertow.attribute.PredicateContextAttribute.Builder, io.undertow.attribute.QueryParameterAttribute.Builder, io.undertow.attribute.QueryStringAttribute.Builder, io.undertow.attribute.RelativePathAttribute.Builder, io.undertow.attribute.RemoteHostAttribute.Builder, io.undertow.attribute.RemoteObfuscatedIPAttribute.Builder, io.undertow.attribute.RemoteUserAttribute.Builder, io.undertow.attribute.RequestCookieAttribute.Builder, io.undertow.attribute.RequestHeaderAttribute.Builder, io.undertow.attribute.RequestLineAttribute.Builder, io.undertow.attribute.RequestMethodAttribute.Builder, io.undertow.attribute.RequestPathAttribute.Builder, io.undertow.attribute.RequestProtocolAttribute.Builder, io.undertow.attribute.RequestSchemeAttribute.Builder, io.undertow.attribute.RequestURLAttribute.Builder, io.undertow.attribute.ResolvedPathAttribute.Builder, io.undertow.attribute.ResponseCodeAttribute.Builder, io.undertow.attribute.ResponseCookieAttribute.Builder, io.undertow.attribute.ResponseHeaderAttribute.Builder, io.undertow.attribute.ResponseReasonPhraseAttribute.Builder, io.undertow.attribute.ResponseTimeAttribute.Builder, io.undertow.attribute.SecureExchangeAttribute.Builder, io.undertow.attribute.SslCipherAttribute.Builder, io.undertow.attribute.SslClientCertAttribute.Builder, io.undertow.attribute.SslSessionIdAttribute.Builder, io.undertow.attribute.StoredResponse.Builder, io.undertow.attribute.ThreadNameAttribute.Builder, io.undertow.attribute.TransportProtocolAttribute.Builder, io.undertow.attribute.RemoteIPAttribute.Builder, io.undertow.attribute.AuthenticationTypeExchangeAttribute.Builder, io.undertow.attribute.BytesSentAttribute.Builder, io.undertow.attribute.CookieAttribute.Builder, io.undertow.attribute.DateTimeAttribute.Builder

An interface that knows how to build an exchange attribute from a textual representation.

This makes it easy to configure attributes based on a string representation

Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public ExchangeAttribute

Returns:

The exchange attribute, or null
build
(final String
The string token
token
)

Build the attribute from a text based representation.

public String

Returns:

The attribute name
name
()

The string representation of the attribute name.

public int

Returns:

The priority
priority
()

The priority of the builder.

Method Detail

buildback to summary
public ExchangeAttribute build(final String token)

Build the attribute from a text based representation. If the attribute does not understand this representation then it will just return null.

Parameters
token:String

The string token

Returns:ExchangeAttribute

The exchange attribute, or null

nameback to summary
public String name()

The string representation of the attribute name. This is used solely for debugging / informational purposes

Returns:String

The attribute name

priorityback to summary
public int priority()

The priority of the builder. Builders will be tried in priority builder. Built in builders use the priority range 0-100,

Returns:int

The priority