public interface RestExtension
-
Method Summary
Modifier and TypeMethodDescriptionstatic RestExtension
allowAll()
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 returntrue
if an action should be included, orfalse
otherwise. -
getActionsFilter
Predicate<RestHandler> getActionsFilter()Returns a filter that determines which rest actions are exposed. The filter should returnfalse
if an action should be included, orfalse
if the paths- Returns:
-
allowAll
Returns a rest extension which allows all rest endpoints through.
-