Package com.helger.photon.api
Class LoggingAPIPathAmbiguityResolver
- java.lang.Object
-
- com.helger.photon.api.LoggingAPIPathAmbiguityResolver
-
- All Implemented Interfaces:
IAPIPathAmbiguityResolver,BiFunction<APIPath,com.helger.commons.collection.impl.ICommonsList<InvokableAPIDescriptor>,InvokableAPIDescriptor>
public class LoggingAPIPathAmbiguityResolver extends Object implements IAPIPathAmbiguityResolver
Logging instance ofIAPIPathAmbiguityResolver.- Since:
- 8.1.4
- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description LoggingAPIPathAmbiguityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvokableAPIDescriptorapply(APIPath aPath, com.helger.commons.collection.impl.ICommonsList<InvokableAPIDescriptor> aDescriptors)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
@Nullable public InvokableAPIDescriptor apply(@Nonnull APIPath aPath, @Nonnull com.helger.commons.collection.impl.ICommonsList<InvokableAPIDescriptor> aDescriptors)
- Specified by:
applyin interfaceBiFunction<APIPath,com.helger.commons.collection.impl.ICommonsList<InvokableAPIDescriptor>,InvokableAPIDescriptor>- Specified by:
applyin interfaceIAPIPathAmbiguityResolver- Parameters:
aPath- The path for which handlers were resolved. Nevernull.aDescriptors- The descriptors that were found. Nevernullbut maybe empty.- Returns:
- The descriptor that should be used or
nullif it could not be determined.
-
-