Interface ExchangeAttributeBuilder
- All Known Implementing Classes:
AllRequestHeadersAttribute.Builder,BytesSentAttribute.Builder,CookieAttribute.Builder,DateTimeAttribute.Builder,ExchangeDataAttribute.Builder,IdentUsernameAttribute.Builder,LocalIPAttribute.Builder,LocalPortAttribute.Builder,LocalServerNameAttribute.Builder,NullAttribute.Builder,QueryParameterAttribute.Builder,QueryStringAttribute.Builder,RemoteHostAttribute.Builder,RemoteIPAttribute.Builder,RemoteUserAttribute.Builder,RequestHeaderAttribute.Builder,RequestLineAttribute.Builder,RequestMethodAttribute.Builder,RequestPathAttribute.Builder,RequestProtocolAttribute.Builder,RequestSchemeAttribute.Builder,RequestURLAttribute.Builder,ResponseCodeAttribute.Builder,ResponseHeaderAttribute.Builder,ResponseTimeAttribute.Builder,SecureExchangeAttribute.Builder,SslCipherAttribute.Builder,SslClientCertAttribute.Builder,SslSessionIdAttribute.Builder,ThreadNameAttribute.Builder,TransportProtocolAttribute.Builder,VertxMDCDataAttribute.Builder
public interface ExchangeAttributeBuilder
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
-
Method Summary
-
Method Details
-
name
String name()The string representation of the attribute name. This is used solely for debugging / informational purposes- Returns:
- The attribute name
-
build
Build the attribute from a text based representation. If the attribute does not understand this representation then it will just return null.- Parameters:
token- The string token- Returns:
- The exchange attribute, or null
-
priority
int priority()The priority of the builder. Builders will be tried in priority builder. Built in builders use the priority range 0-100,- Returns:
- The priority
-