public final class ErpHttpDestinationUtils extends Object
ErpHttpDestinations.| Modifier and Type | Method and Description |
|---|---|
static Function<HttpDestinationProperties,ErpHttpDestination> |
asErp()
Convenience method to decorate a generic
HttpDestination into an ERP specific ErpHttpDestination. |
static ErpHttpDestination |
getErpHttpDestination(String destinationName)
Convenience method to retrieve a destination by name via the
DestinationAccessor and decorating it as a
ErpHttpDestination. |
@Nonnull public static ErpHttpDestination getErpHttpDestination(@Nonnull String destinationName) throws DestinationAccessException, IllegalArgumentException
DestinationAccessor and decorating it as a
ErpHttpDestination.destinationName - The name of the destination to retrieve.ErpHttpDestination.DestinationAccessException - if the destination with the given name could not be found.IllegalArgumentException - if the destination with the given name is no HttpDestination.@Nonnull public static Function<HttpDestinationProperties,ErpHttpDestination> asErp()
HttpDestination into an ERP specific ErpHttpDestination.HttpDestination.decorate(Function) to create a
ErpHttpDestination.Copyright © 2022 SAP SE. All rights reserved.