T - the type of object associated to the registrypublic static interface RequestMatcherRegistry.RequestMatcherRegistryBuilder<T>
RequestMatcherRegistry. Instances can only be obtained via
HttpService.getRequestMatcherRegistryBuilder().| Modifier and Type | Method and Description |
|---|---|
RequestMatcherRegistry<T> |
build() |
RequestMatcherRegistry.RequestMatcherRegistryBuilder<T> |
onDisabled(Supplier<T> itemSupplier)
Determines which item should be returned if a match is found but the entry is disabled.
|
RequestMatcherRegistry.RequestMatcherRegistryBuilder<T> |
onInvalidRequest(Supplier<T> itemSupplier)
Determines which item should be returned if an invalid request is provided.
|
RequestMatcherRegistry.RequestMatcherRegistryBuilder<T> |
onMethodMismatch(Supplier<T> itemSupplier)
Determines which item should be returned if a method mismatch occurs, meaning a path match was found but the method was not
valid.
|
RequestMatcherRegistry.RequestMatcherRegistryBuilder<T> |
onNotFound(Supplier<T> itemSupplier)
Determines which item should be returned if no match is found.
|
RequestMatcherRegistry.RequestMatcherRegistryBuilder<T> onMethodMismatch(Supplier<T> itemSupplier)
null will be returned by default.itemSupplier - a supplier of the value to returnRequestMatcherRegistry.RequestMatcherRegistryBuilder<T> onNotFound(Supplier<T> itemSupplier)
null will be returned by default.itemSupplier - a supplier of the value to returnRequestMatcherRegistry.RequestMatcherRegistryBuilder<T> onInvalidRequest(Supplier<T> itemSupplier)
null will be returned by
default.itemSupplier - a supplier of the value to returnRequestMatcherRegistry.RequestMatcherRegistryBuilder<T> onDisabled(Supplier<T> itemSupplier)
null will be
returned by default.itemSupplier - a supplier of the value to returnRequestMatcherRegistry<T> build()
RequestMatcherRegistry configured as specified.Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.