public static class AddStatusToResponse.StatusCodeMappingFunction extends Object implements com.google.common.base.Function<ProfileRequestContext,List<String>>
EventContext
.Constructor and Description |
---|
StatusCodeMappingFunction(Map<String,List<String>> mappings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
apply(ProfileRequestContext input) |
void |
setEventContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,EventContext> strategy)
Set lookup strategy for
EventContext to check. |
public void setEventContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,EventContext> strategy)
EventContext
to check.strategy
- lookup strategy@Nullable public List<String> apply(@Nullable ProfileRequestContext input)
apply
in interface com.google.common.base.Function<ProfileRequestContext,List<String>>
Copyright © 2016 JBoss by Red Hat. All rights reserved.