public static class AddInResponseToToResponse.DefaultRequestIdLookupStrategy extends java.lang.Object implements com.google.common.base.Function<ProfileRequestContext,java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private java.util.Set<java.lang.String> |
suppressForBindings
Set of bindings to ignore request ID for.
|
| Constructor and Description |
|---|
DefaultRequestIdLookupStrategy()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(ProfileRequestContext input) |
void |
setSuppressForBindings(java.util.Collection<java.lang.String> bindings)
Set the collection of bindings to suppress the lookup of a request ID for.
|
@Nonnull private final org.slf4j.Logger log
@Nonnull @NonnullElements private java.util.Set<java.lang.String> suppressForBindings
public DefaultRequestIdLookupStrategy()
public void setSuppressForBindings(@Nonnull @NonnullElements
java.util.Collection<java.lang.String> bindings)
bindings - collection of bindings@Nullable
public java.lang.String apply(@Nullable
ProfileRequestContext input)
apply in interface com.google.common.base.Function<ProfileRequestContext,java.lang.String>