public static class AddSOAPFault.FaultCodeMappingFunction extends Object implements Function<ProfileRequestContext,QName>
EventContext
.Modifier and Type | Field and Description |
---|---|
private Map<String,QName> |
codeMappings
Code mappings.
|
private Function<ProfileRequestContext,EventContext> |
eventContextLookupStrategy
Strategy function for access to
EventContext to check. |
Constructor and Description |
---|
FaultCodeMappingFunction(Map<String,QName> mappings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
QName |
apply(ProfileRequestContext input) |
void |
setEventContextLookupStrategy(Function<ProfileRequestContext,EventContext> strategy)
Set lookup strategy for
EventContext to check. |
@Nonnull @NonnullElements private Map<String,QName> codeMappings
@Nonnull private Function<ProfileRequestContext,EventContext> eventContextLookupStrategy
EventContext
to check.public FaultCodeMappingFunction(@Nonnull @NonnullElements Map<String,QName> mappings)
mappings
- the status code mappings to usepublic void setEventContextLookupStrategy(@Nonnull Function<ProfileRequestContext,EventContext> strategy)
EventContext
to check.strategy
- lookup strategy@Nullable public QName apply(@Nullable ProfileRequestContext input)
apply
in interface Function<ProfileRequestContext,QName>
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.