public static class AddStatusToResponse.StatusCodeMappingFunction extends Object implements com.google.common.base.Function<ProfileRequestContext,List<String>>
EventContext.| Modifier and Type | Field and Description |
|---|---|
private Map<String,List<String>> |
codeMappings
Code mappings.
|
private com.google.common.base.Function<ProfileRequestContext,EventContext> |
eventContextLookupStrategy
Strategy function for access to
EventContext to check. |
| 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. |
@Nonnull private com.google.common.base.Function<ProfileRequestContext,EventContext> eventContextLookupStrategy
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 © 1999–2019 Shibboleth Consortium. All rights reserved.