public class DefaultPModeResolver extends Object implements IPModeResolver
IPModeResolver using the fixed ID only. If
no ID is provided the default pmode is used.| Modifier and Type | Field and Description |
|---|---|
static IPModeResolver |
DEFAULT_PMODE_RESOLVER |
| Constructor and Description |
|---|
DefaultPModeResolver(boolean bUseDefaultAsFallback) |
| Modifier and Type | Method and Description |
|---|---|
IPMode |
getPModeOfID(String sPModeID,
String sService,
String sAction,
String sInitiatorID,
String sResponderID,
String sAddress)
Get the PMode of the passed ID.
|
boolean |
isUseDefaultAsFallback() |
public static final IPModeResolver DEFAULT_PMODE_RESOLVER
public final boolean isUseDefaultAsFallback()
@Nullable public IPMode getPModeOfID(@Nullable String sPModeID, @Nonnull String sService, @Nonnull String sAction, @Nonnull @Nonempty String sInitiatorID, @Nonnull @Nonempty String sResponderID, @Nullable String sAddress)
IPModeResolvergetPModeOfID in interface IPModeResolversPModeID - The direct PMode ID to be resolved. May be null.sService - The service as specified in the EBMS CollaborationInformation. May
not be null.sAction - The action as specified in the EBMS CollaborationInformation. May
not be null.sInitiatorID - Initiator ID from user messagesResponderID - Responder ID from user messagesAddress - Endpoint addressnull if resolution failed.Copyright © 2015–2020 Philip Helger. All rights reserved.