Package io.inversion
Class Endpoint
- java.lang.Object
-
- io.inversion.Rule<Endpoint>
-
- io.inversion.Endpoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.inversion.Rule
Rule.RuleMatcher
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Action>actionsThe Actions that are 'local' to this request.protected Apiapiprotected booleaninternalInternal Endpoints can only be called by recursive calls to the engine when Chain.depth() is @gt; 1.-
Fields inherited from class io.inversion.Rule
ALL_METHODS, configMap, description, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order, params
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Endpoint o)ActiongetAction(java.lang.String name)java.util.List<Action>getActions()ApigetApi()booleanisInternal()EndpointwithAction(Action action)EndpointwithActions(Action... actions)EndpointwithApi(Api api)EndpointwithInternal(boolean internal)-
Methods inherited from class io.inversion.Rule
afterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParams
-
-
-
-
Field Detail
-
actions
protected final java.util.List<Action> 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 internal
Internal Endpoints can only be called by recursive calls to the engine when Chain.depth() is @gt; 1. This could have been logically called 'private' but that is a reserved word in Java.
-
api
protected transient Api api
-
-