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 Apiprotected 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
ALL_METHODS, configMap, description, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order, params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetApi()booleanwithAction(Action action) withActions(Action... actions) withInternal(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 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. This could have been logically called 'private' but that is a reserved word in Java. -
api
-
-
Constructor Details
-
Endpoint
public Endpoint() -
Endpoint
-
Endpoint
-
-
Method Details
-
compareTo
-
getApi
-
withApi
-
withInternal
-
isInternal
public boolean isInternal() -
getAction
-
getActions
-
withActions
-
withAction
-