public abstract class RoutingResolver extends Object
| Constructor and Description |
|---|
RoutingResolver() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getSmtpEndpoints(Collection<String> addresses)
Return a collection of SMTP endpoints from the provided collection of
addresses.
|
Collection<String> |
getXdEndpoints(Collection<String> addresses)
Return a collection of XD endpoints from the provided collection of
addresses.
|
boolean |
hasSmtpEndpoints(Collection<String> addresses)
Determine if the collection of addresses contains SMTP endpoints.
|
boolean |
hasXdEndpoints(Collection<String> addresses)
Determine if the collection of addresses contains XD endpoints.
|
abstract boolean |
isSmtpEndpoint(String address)
Determine whether or not the provided address resolves to an SMTP endpoint.
|
abstract boolean |
isXdEndpoint(String address)
Determine whether or not the provided address resolves to an XD endpoint.
|
abstract String |
resolve(String address)
Resolve an address to a stored value.
|
public abstract String resolve(String address)
address - The address to resolve.public abstract boolean isXdEndpoint(String address)
address - The address to resolve.public abstract boolean isSmtpEndpoint(String address)
address - The address to resolve.public Collection<String> getSmtpEndpoints(Collection<String> addresses)
addresses - The collection of address from which to extract SMTP
endpoints.public Collection<String> getXdEndpoints(Collection<String> addresses)
addresses - The collection of addresses from which to extract XD
endpoints.public boolean hasSmtpEndpoints(Collection<String> addresses)
addresses - The collection of addresses to inspect.public boolean hasXdEndpoints(Collection<String> addresses)
addresses - The collection of addresses to inspect.Copyright © 2010–2025. All rights reserved.