public interface RestExtension
-
Method Summary
Modifier and TypeMethodDescriptionstatic RestExtensionallowAll()Returns a rest extension which allows all rest endpoints through.Returns a filter that determines which rest actions are exposed.Returns a filter that determines which cat actions are exposed in /_cat.
-
Method Details
-
getCatActionsFilter
Predicate<AbstractCatAction> getCatActionsFilter()Returns a filter that determines which cat actions are exposed in /_cat. The filter should returntrueif an action should be included, orfalseotherwise. -
getActionsFilter
Predicate<RestHandler> getActionsFilter()Returns a filter that determines which rest actions are exposed. The filter should returnfalseif an action should be included, orfalseif the paths- Returns:
-
allowAll
Returns a rest extension which allows all rest endpoints through.
-