Package io.inversion
Class Endpoint
- All Implemented Interfaces:
Comparable<Endpoint>
A single Endpoint, bundling one or more Path match relative Actions, is selected to service a Request.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.inversion.Rule
Rule.RuleMatcher -
Field Summary
FieldsModifier and TypeFieldDescriptionThe Actions that are 'local' to this request.protected booleanInternal Endpoints can only be called by recursive calls to the engine when Chain.depth() is @gt; 1.Fields inherited from class io.inversion.Rule
configMap, configStr, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanwithAction(Action action) withActions(Action... actions) withInternal(boolean internal) Methods inherited from class io.inversion.Rule
checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludePaths, getConfig, getConfig, getConfigKeys, getDefaultIncludeMatch, getExcludeMatchers, getIncludeMatchers, getName, getOrder, match, matches, matches, toString, withConfig, withExcludeOn, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withIncludeOn, withName, withOrder
-
Field Details
-
actions
The Actions that are 'local' to this request.These Actions are not run each Request automatically.
Compared to Actions that are registered directly with the Api via Api.withAction, these Actions are path matched relative to the Path that matched to select this Endpoint vs a different Endpoint.
-
internal
protected boolean internalInternal Endpoints can only be called by recursive calls to the engine when Chain.depth() is @gt; 1.
-
-
Constructor Details
-
Endpoint
public Endpoint() -
Endpoint
-
-
Method Details
-
withInternal
-
isInternal
public boolean isInternal() -
getActions
-
withActions
-
withAction
-